.\" Copyright (c) 1990 The Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" %sccs.include.redist.man%
.\" @(#)ungetc.3 6.3 (Berkeley) %G%
ungetc \- push character back into input stream
ungetc(int c, FILE *stream);
(converted to an ``unsigned char'') back on an input stream, so that
call on that stream will return
One character of pushback is always guaranteed, but as long as there is
sufficient memory, an effectively infinite amount of pushback is allowed.
erases all memory of pushed back characters.
getc(3), fseek(3), setvbuf(3)
if it cannot push back the given character for any reason
(this includes attempts to push