Vocabulary
io.streams.c

Inputs
aliena C FILE* handle


Outputs
byte/fan integer from 0 to 255 or f


Word description
Reads a single byte from a C FILE* handle, and outputs f on end of file.

Errors
Throws an error if the input operation failed.

Definition

PRIMITIVE: fgetc ( alien -- byte/f )