Schily's LIBRARY FUNCTIONS PEEKC(3)
peekc() - shows the next character in the file
peekc() 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.
Returns the next character in the file or EOF if the file is
at the end of data.
This 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.
Joerg Schilling Last change: 15. Juli 1988 1
Man(1) output converted with