|
NAMEfread , fread_unlocked ,
fwrite , fwrite_unlocked
—
binary stream input/output
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <stdio.h>
size_t
size_t
size_t
size_t
DESCRIPTIONThe functionfread () reads nmemb
objects, each size bytes long, from the stream pointed
to by stream, storing them at the location given by
ptr.
The function The RETURN VALUESThe functionsfread () and
fwrite () advance the file position indicator for the
stream by the number of bytes read or written. They return the number of
objects read or written. If an error occurs, or the end-of-file is reached,
the return value is a short object count (or zero).
The function SEE ALSOread(2), write(2)STANDARDSThe functionsfread () and
fwrite () conform to ISO/IEC 9899:1990
(“ISO C90”).
Visit the GSP FreeBSD Man Page Interface. |