#t if the argument is an output port (or a
combined input and output port),
Flushes any buffered output from the buffer of output-port to the
underlying file, device, or object. The
procedure returns an unspecified values.
maybe-transcoder must be either a transcoder or
open-file-output-port procedure returns an output port for the named file.
The file-options argument, which may determine various aspects of
the returned port (see R6RS File Options), defaults to the value of
The buffer-mode argument, if supplied,
must be one of the symbols that name a buffer mode.
The buffer-mode argument defaults to
If maybe-transcoder is a transcoder, it becomes the transcoder associated with the port.
If maybe-transcoder is
#f or absent,
the port will be a binary port and will support the
Otherwise the port will be a textual port, and whether it supports
is implementation-dependent (and possibly transcoder-dependent).
Returns a fresh binary output port connected to the standard output or
standard error respectively. Whether the port supports the
set-port-position! operations is
These return default textual ports for regular output and error output.
Normally, these default ports are associated with standard output, and
standard error, respectively. The return value of
current-output-port can be dynamically re-assigned using the
with-output-to-file procedure from the
io simple (6)
library (see rnrs io simple). A port returned by one of these
procedures may or may not have an associated transcoder; if it does, the
transcoder is implementation-dependent.