Next: Filenames, Up: Types

##### 16.3.2.1 File-descriptors

— Type: sb-posix:file-descriptor

> A `fixnum` designating a native file descriptor.

> `sb-sys:make-fd-stream` can be used to construct a `file-stream` associated with a native file descriptor.

> Note that mixing I/O operations on a `file-stream` with operations directly on its descriptor may produce unexpected results if the stream is buffered.

— Type: sb-posix:file-descriptor-designator

> Designator for a `file-descriptor:` either a fixnum designating itself, or a `file-stream` designating the underlying file-descriptor.

— Function: sb-posix:file-descriptor file-descriptor

> Converts `file-descriptor-designator` into a `file-descriptor`.