MicrOS
|
#include "../stdio.h"
Functions | |
size_t | fread (void *ptr, size_t size, size_t count, FILE *stream) |
Read block of data from stream. More... | |
Read block of data from stream.
Reads an array of count elements, each one with a size of size bytes, from the stream and stores them in the block of memory specified by ptr. The position indicator of the stream is advanced by the total amount of bytes read.
ptr | Pointer to a block of memory with a size of at least (size*count) bytes, converted to a void*. |
size | Size, in bytes, of each element to be read. |
count | Number of elements, each one with a size of size bytes. |
stream | Pointer to a FILE object that identifies the stream to be closed. |