Next: , Up: Types


15.3.2.1 File-descriptors

A file-descriptor is a non-negative small integer.

A file-stream is a designator for a file-descriptor: the stream's file descriptor is extracted. Note that mixing I/O operations on a stream with operations directly on its descriptor may produce unexpected results if the stream is buffered.

SB-EXT:MAKE-FD-STREAM can be used to construct a stream associated with a file descriptor.