| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.14.4 Closing
- Scheme Procedure: close-port port
- C Function: scm_close_port (port)
Close the specified port object. Return
#tif it successfully closes a port or#fif 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.
- Scheme Procedure: close-input-port port
- Scheme Procedure: close-output-port port
- C Function: scm_close_input_port (port)
- C Function: scm_close_output_port (port)
-
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.
- Scheme Procedure: port-closed? port
- C Function: scm_port_closed_p (port)
Return
#tif port is closed or#fif it is open.
This document was generated on February 3, 2012 using texi2html 5.0.
