CLCS
Function

file-string-length

file-string-length stream objectlength

Arguments and Values

streaman output character file stream.
objecta string or a character.
lengtha non-negative integer, or nil.

Description

file-string-length returns the difference between what (file-position stream) would be after writing object and its current value, or nil if this cannot be determined.

The returned value corresponds to the current state of stream at the time of the call and might not be the same if it is called again when the state of the stream has changed.