13.1.2 Managing Ports
procedure
(input-port? v) → boolean?
v : any/c
procedure
(output-port? v) → boolean?
v : any/c
procedure
(close-input-port in) → void?
in : input-port?
procedure
(close-output-port out) → void?
out : output-port?
procedure
(port-closed? port) → boolean?
port : port?
procedure
(port-closed-evt port) → evt?
port : port?
parameter
(current-input-port in) → void? in : input-port?
parameter
(current-output-port out) → void? out : output-port?
parameter
(current-error-port out) → void? out : output-port?
procedure
(file-stream-port? v) → boolean?
v : any/c
Changed in version 7.2.0.5 of package base: Extended file-stream-port? to any value, instead of resticting the domain to ports
procedure
(terminal-port? v) → boolean?
v : any/c
Changed in version 7.2.0.5 of package base: Extended terminal-port? to any value, instead of resticting the domain to ports
procedure
(port-waiting-peer? port) → boolean?
port : port?
On Unix and Mac OS, opening a fifo for output creates a peer-waiting
port if no reader for the same fifo is already opened. In that case,
the output port is not ready for writing until a reader is opened;
that is, write opertaions will block. Use sync if necessary
to wait until writing will not block—
Added in version 7.4.0.5 of package base.
value
procedure
(eof-object? v) → boolean?
v : any/c