<c-reader> ( handle -- stream )
Factor handbook » Input and output » ANSI C streams

Next:<c-writer> ( handle -- stream )


Vocabulary
io.streams.c

Inputs
handlea C FILE* handle


Outputs
streama new stream


Word description
Creates a stream which reads data by calling C standard library functions.

Notes
Usually C streams are only used during bootstrap, and non-blocking OS-specific I/O routines are used during normal operation.

Definition