Embedded TCP/IP stack
4.7.0
|
fnet_bool_t fnet_fs_feof | ( | fnet_fs_file_t | file | ) |
Checks the End-of-File indicator.
file | File descriptor. |
FNET_TRUE
in the case that the End-of-File is set.FNET_FALSE
in the case that the End-of-File is NOT set.This function checks, whether the End-of-File indicator associated with the file
descriptor is set.
This indicator is generally set by a previous operation on the file
that reached the End-of-File.
Further read operations on the file
- once the End-of-File has been reached - will fail until either fnet_fs_rewind() or fnet_fs_fseek() is successfully called to set the position indicator to a new value.