[−][src]Function avr_libc::fread
pub unsafe extern "C" fn fread(
__ptr: *mut c_void,
__size: size_t,
__nmemb: size_t,
__stream: *mut FILE
) -> size_t
Read \c nmemb objects, \c size bytes each, from \c stream, to the buffer pointed to by \c ptr.
Returns the number of objects successfully read, i. e. \c nmemb unless an input error occured or end-of-file was encountered. feof() and ferror() must be used to distinguish between these two conditions.