7.2 Input/Output system extensions

7.2.4 Making Lisp file streams from file handles

A file handle is a UNIX file descriptor. For LCL/HP and LCL/RS6000, the file handle is an operating system stream identifier, which is equivalent to a UNIX file descriptor. The following functions allow you to perform input and output operations that use file handles:

extract-stream-handle
extract-stream-handles
make-lisp-stream

The functions extract-stream-handle andextract-stream-handles return file handles for a given Common Lisp stream. These functions allow you to send input to or receive output from foreign files. The function make-lisp-stream creates a Common Lisp stream from a file handle or handles.


The Advanced User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker