Vocabularyio.streams.cInputsn | a positive integer |
buf | a c-ptr |
alien | a C FILE* handle |
OutputsWord descriptionReads
n bytes from a C FILE* handle into the memory referenced by
buf, and outputs the number of characters read. Zero is output on end of file.
Warning
This word does not check whether buf is large enough to accommodate the requested number of bytes. Memory corruption will occur if this is not the case.
ErrorsThrows an error if the input operation failed.
Definition