The function (EXT:STREAM-HANDLES
returns
two values:stream
)
stream
, or NIL
if the stream
is an output-only STREAM
or if there is no file descriptor associated with it.stream
, or NIL
if the stream
is an input-only STREAM
or if there is no file descriptor associated with it.It is dangerous to CLOSE
the file descriptors returned by
this function. This may lead to EBADF
OS ERROR
s and, eventually, segmentation faults. Always use CLOSE
on the original Lisp stream
s instead.
These notes document CLISP version 2.49.93+ | Last modified: 2018-02-19 |