Returns or changes the current position within a stream.
stream-file-position stream => position
(setf stream-file-position) position-spec stream => success-p
A file position designator.
A file position or
A generalized boolean.
The generic function
stream-file-position is called when
file-position is called with one argument.
(setf stream:stream-file-position) is called when
file-position is called with two arguments.
The return value is returned by
file-position. For the setf function, this is a slight anomaly because setf functions normally return the new value. However in this case it should return the success-p value mandated by the ANSI Common Lisp standard.
The default methods specialized on
LispWorks User Guide and Reference Manual - 13 Feb 2015