GNU Info

Info Node: (guile.info)Port Environment

(guile.info)Port Environment


Next: Port Types Prev: Line/Delimited Up: Input and Output
Enter node , (file) or (file)node

Port Environment
================

 - primitive: current-input-port
     Returns the current input port.  This is the default port used by
     many input procedures.  Initially, `current-input-port' returns the
     value of `???'.

 - primitive: current-output-port
     Returns the current output port.  This is the default port used by
     many output procedures.  Initially, `current-output-port' returns
     the value of `???'.

 - primitive: current-error-port
     Return the port to which errors and warnings should be sent (the
     "standard error" in Unix and C terminology).

 - primitive: set-current-input-port port
 - primitive: set-current-output-port port
 - primitive: set-current-error-port port
     Change the ports returned by `current-input-port',
     `current-output-port' and `current-error-port', respectively, so
     that they use the supplied PORT for input or output.

 - primitive: set-current-output-port port
     Set the current default output port to PORT.

 - primitive: set-current-error-port port
     Set the current default error port to PORT.


automatically generated by info2www version 1.2.2.9