Embedded TCP/IP stack  4.7.0

◆ fnet_fs_ftell()

fnet_int32_t fnet_fs_ftell ( fnet_fs_file_t  file)

Gets the current position in a file.

Parameters
fileFile descriptor.
Returns
This function returns:
  • The current value of the position indicator if no error occurs.
  • FNET_ERR if an error occurs.
See also
fnet_fs_fseek()

This function returns the current value of the position indicator of the file. The returned value corresponds to the number of bytes from the beginning of the file.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net