1 /* ----------------------------------------------------------------------------
3 * ----------------------------------------------------------------------------
4 * Public Domain C Library - http://pdclib.sourceforge.net
5 * This code is Public Domain. Use, modify, and redistribute at will.
6 * --------------------------------------------------------------------------*/
8 int ungetc( int c, FILE * stream ) { /* TODO */ };
10 /* PDPC code - unreviewed
12 if ((stream->ungetCh != -1) || (c == EOF))
16 stream->ungetCh = (unsigned char)c;
17 stream->quickText = 0;
18 return ((unsigned char)c);