Previous: stdlib io port textual output, Up: stdlib io port [Index]
Return a single port that is both an input port and an output port for
the named file. The optional arguments default as described in the
specification of open-file-output-port
. If the input/output port
supports port-position
and/or set-port-position!
, the same
port position is used for both input and output.
Return a newly created binary input/output port whose byte source and sink are arbitrary algorithms represented by the read! and write! procedures.
id must be a string naming the new port, provided for informational purposes only.
read! and write! must be procedures, and should behave as
specified for the make-custom-binary-input-port
and
make-custom-binary-output-port
procedures.
Each of the remaining arguments may be #f
; if any of those
arguments is not #f
, it must be a procedure and should behave as
specified in the description of make-custom-binary-input-port
.
Return a newly created textual input/output port whose textual source and sink are arbitrary algorithms represented by the read! and write! procedures.
id must be a string naming the new port, provided for informational purposes only.
read! and write! must be procedures, and should behave as
specified for the make-custom-textual-input-port
and
make-custom-textual-output-port
procedures.
Each of the remaining arguments may be #f
; if any of those
arguments is not #f
, it must be a procedure and should behave as
specified in the description of make-custom-textual-input-port
.
Previous: stdlib io port textual output, Up: stdlib io port [Index]