Next Prev Up Top Contents Index

stream-peek-char

Generic Function
Summary

A generic function used by peek-char that returns a character on a given stream without removing it from the stream buffer.

Package

stream

Signature

stream-peek-char stream => result

Arguments

stream

A stream.

Values

result

A character or :EOF symbol.

Description

The generic function stream-peek-char is used to implement peek-char , and corresponds to a peek-type of nil . The default method reads a character from the stream without removing it from the stream buffer, by using stream-read-char and stream-unread-char .

See also

stream-listen
stream-read-char
stream-unread-char


LispWorks Reference Manual - 25 Jul 2003

Next Prev Up Top Contents Index