fputc ( byte alien -- )
Factor handbook > Input and output > ANSI C streams

Prev:fclose ( alien -- )
Next:fgetc ( alien -- byte/f )


Vocabulary
io.streams.c

Inputs and outputs
bytean integer from 0 to 255
aliena C FILE* handle


Word description
Writes a single byte to a C FILE* handle.

Errors
Throws an error if the output operation failed.

Definition

PRIMITIVE: fputc ( byte alien -- )