.TH FREAD 3S "19 January 1983"
fread, fwrite \- buffered binary input/output
.B fread(ptr, sizeof(*ptr), nitems, stream)
.B fwrite(ptr, sizeof(*ptr), nitems, stream)
reads, into a block beginning at
It returns the number of items actually read.
and the standard output is line buffered, then any partial output line
will be flushed before any call to
It returns the number of items actually written.
upon end of file or error.