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.
It returns the number of items actually written.
upon end of file or error.