Programming Guide |
Reads the next byte from the specified file stream
int sm_fio_getc(int file_stream);
file_stream
- A handle to the required file stream, obtained by sm_fio_open.
- 0 Next character in the file stream as an integer.
sm_fio_getc
reads a character from the specified file stream and returns the result as an integer. This function is similar to the C functionfgetc
and is intended to read the contents of binary files.Note: This function only returns the ASCII integer value of the read character.