Next: , Previous: , Up: stdlib io port   [Index]


5.8.2.5 End–of–file object

The end–of–file object is returned by various I/O procedures when they reach end of file.

Procedure: eof-object

Return the end–of–file object.

(eqv? (eof-object) (eof-object))        ⇒ #t
(eq? (eof-object) (eof-object))         ⇒ #t

NOTE The end–of–file object is not a datum value, and thus has no external representation.

Procedure: eof-object? obj

Return #t if obj is the end–of–file object, #f otherwise.