GNU Info

Info Node: (guile.info)Closing

(guile.info)Closing


Next: Random Access Prev: Writing Up: Input and Output
Enter node , (file) or (file)node

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.


automatically generated by info2www version 1.2.2.9