Closing
=======
- primitive: close-port port
Close the specified port object. Returns `#t' if it successfully
closes a port or `#f' if it was already closed. An exception may
be raised if an error occurs, for example when flushing buffered
output. See also Note:close, for a
procedure which can close file descriptors.
- primitive: close-input-port port
Close the specified input port object. The routine has no effect
if the file has already been closed. An exception may be raised
if an error occurs. The value returned is unspecified.
See also Note:close, for a procedure
which can close file descriptors.
- primitive: close-output-port port
Close the specified output port object. The routine has no effect
if the file has already been closed. An exception may be raised
if an error occurs. The value returned is unspecified.
See also Note:close, for a procedure
which can close file descriptors.
- primitive: port-closed? port
Returns `#t' if PORT is closed or `#f' if it is open.