stream-nl ( stream -- )
Factor handbook > Input and output > Streams > Stream protocol

Prev:stream-write ( data stream -- )
Next:stream-seekable? ( stream -- ? )


Vocabulary
io

Inputs and outputs
streaman output stream


Generic word contract
Writes a line terminator. If the stream does buffering, output may not be performed immediately; use stream-flush to force output.

Notes
Most code only works on one stream at a time and should instead use nl; see Default input and output streams.

Errors
Throws an error if the I/O operation fails.

Definition

GENERIC: stream-nl ( stream -- )


Methods