Embedded TCP/IP stack
4.7.0
|
fnet_size_t fnet_fs_fread | ( | void * | buf, |
fnet_size_t | size, | ||
fnet_fs_file_t | file | ||
) |
Reads data from a file.
buf | Pointer to the buffer to store the read data. |
size | Number of bytes to read. |
file | File descriptor. |
This function reads an array of bytes from the file
and stores them in the block of memory specified by buf
.
The position indicator of the file
descriptor is advanced by the total amount of bytes read.