Embedded TCP/IP stack  4.7.0

◆ fnet_fs_fgetc()

fnet_int32_t fnet_fs_fgetc ( fnet_fs_file_t  file)

Gets a character from a file.

Parameters
fileFile descriptor.
Returns
This function returns:
  • The character read is returned as an fnet_int32_t value.
  • FNET_ERR if an error occurs.
See also
fnet_fs_fread()

This function returns the character currently pointed to by the internal file position indicator of the specified file.
The internal file position indicator is advanced by one character to point to the next character.


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