Scieneer Common Lisp 1.3.9 online documentation

with-output-to-string (var &optional string &key :element-type) &parse-body (forms decls)[Macro]

If string is specified, it must be a string with a fill pointer; the output is incrementally appended to the string, as if by use of vector-push-extend.