◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── The getc routine reads a single character from the <stream> position and increments the associated file pointer (if there is one) to point to the next character. The getchar routine is identical to getc( stdin ). The getc and getchar routines are similar to fgetc and fgetchar, respectively, but are macros rather than functions. Return Value The getc and getchar routines return the character read. A return value of EOF indicates an error or end-of-file condition. Use ferror or feof to determine whether an error or end-of-file occurred. -♦-