|
|
#include <stdio.h>
int ungetc(int c, FILE *stream);
MT-Safe
Four bytes of pushback are guaranteed.
The value of the file position indicator for stream after reading or discarding all pushed-back characters will be the same as it was before the characters were pushed back.
If c equals EOF, ungetc() does nothing to the buffer and returns EOF.
fseek(), rewind() (both described on fseek.3s and fsetpos.3c erase the memory of inserted characters for the stream on which they are applied.
|
|
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97