Warning: This is the manual of the legacy Guile 2.0 series. You may want to read the manual of the current stable series instead.
Next: Random Access, Previous: Writing, Up: Input and Output [Contents][Index]
Close the specified port object. Return #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 close, for a procedure which can close file
descriptors.
Close the specified input or output port. An exception may be raised if an error occurs while closing. If port is already closed, nothing is done. The return value is unspecified.
See also close, for a procedure which can close file descriptors.
Return #t
if port is closed or #f
if it is
open.