![]() |
![]()
| ![]() |
![]()
NAMEpeekc() - shows the next character in the fileSYNOPSISint peekc(f) FILE *f; DESCRIPTIONpeekc() shows the next character in the file. It does not remove the character. The next call to peekc() or getc() will return the same character.RETURNSReturns the next character in the file or EOF if the file is at the end of data.NOTESThis call may be used only on buffered files.Notice that peekc() is not declared as type char, since EOF is not a valid value for a char object.
|