The generic function
stream-file-position
implements
file-position
.
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.
LispWorks User Guide and Reference Manual - 21 Dec 2011