fwrite ( data length alien -- )
Factor handbook » Input and output » ANSI C streams

Prev:fopen ( path mode -- alien )
Next:fflush ( alien -- )


Vocabulary
io.streams.c

Inputs
dataa c-ptr
lengthan integer
aliena C FILE* handle


Outputs
None

Word description
Writes some bytes to a C FILE* handle.

Errors
Throws an error if the output operation failed.

Definition

PRIMITIVE: fwrite ( data length alien -- )