(guile.info.gz) Closing
Info Catalog
(guile.info.gz) Writing
(guile.info.gz) Input and Output
(guile.info.gz) Random Access
27.4 Closing
============
-- Scheme Procedure: close-port port
-- C Function: scm_close_port (port)
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 Ports and File Descriptors, for a
procedure which can close file descriptors.
-- Scheme Procedure: close-input-port port
-- C Function: scm_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 close Ports and File Descriptors, for a procedure
which can close file descriptors.
-- Scheme Procedure: close-output-port port
-- C Function: scm_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 close Ports and File Descriptors, for a procedure
which can close file descriptors.
-- Scheme Procedure: port-closed? port
-- C Function: scm_port_closed_p (port)
Return `#t' if PORT is closed or `#f' if it is open.
Info Catalog
(guile.info.gz) Writing
(guile.info.gz) Input and Output
(guile.info.gz) Random Access
automatically generated byinfo2html