peek-char

(peek-char [port])


Description:

Returns the next character available from the input port, without updating the port to point to the following character. If no more characters are available, an end of file object is returned. Port may be omitted, in which case it defaults to the value returned by current-input-port.


Arguments:

           port -- optional port argument


Returns: char


Examples:



Back to index