Scieneer Common Lisp 1.3.9 online documentation

ext:stream-pathname stream[Generic Function]

Return the pathname associated with the stream. The stream pathname is implemented for streams of class file-stream, and for composite streams that may encapsulate file streams. When appropriate, user defined composite streams should provide a method to return the stream-pathname of the source or target stream. A default method is provided for the class stream that returns nil.

(setf (ext:stream-pathname stream) pathname)[Generic Function]

Set the pathname associated with the stream. The stream pathname is implemented for streams of class file-stream, and for composite streams that may encapsulate file streams. When appropriate, user defined composite streams should provide a method to set the stream-pathname of the source or target stream. A default method is provided for the class stream that does nothing.