|
|
coherent
ungetc() STDIO ungetc() Return character to input stream #include <stdio.h> iinntt uunnggeettcc (_c, _f_p) iinntt _c; FFIILLEE *_f_p; ungetc returns the character _c to the stream _f_p. c can then be read by a subsequent call to ggeettcc, ggeettss, ggeettww, ssccaannff, or ffrreeaadd. No more than one character can be pushed back into any stream at once. A call to ffsseeeekk will nullify the effects of a previous uunn- ggeettcc. ***** Example ***** For an example of this function, see fgetc. ***** See Also ***** fgetc(), getc(), STDIO ***** Diagnostics ***** uunnggeettcc normally returns _c. It returns EEOOFF if the character can- not be pushed back. COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.