programming.nbk: Home | Index | Next Page: fgets(char *str, int num, FILE *stream); | Previous Page: ferror()


 fgetc()

Syntax

The function reads the next character c (if present) from the input stream stream, advances the file-position indicator (if defined), and returns (int)(unsigned char)c. If the function sets either the end-of-file indicator or the error indicator, it returns EOF.


programming.nbk: Home | Index | Next Page: fgets(char *str, int num, FILE *stream); | Previous Page: ferror()


Notebook exported on Monday, 7 July 2008, 18:56:06 PM Eastern Daylight Time