HomeSort by: relevance | last modified time | path
    Searched refs:ungetc (Results 1 - 25 of 34) sorted by relevancy

1 2

  /src/games/boggle/boggle/
help.c 66 if (ungetc(getc(fp), fp) == EOF) {
81 if (eof || ungetc(getc(fp), fp) == EOF) {
  /src/games/trek/
getpar.c 232 ungetc(c, stdin);
236 ungetc(c, stdin);
254 ungetc('\n', stdin);
275 ungetc(c, stdin);
298 ungetc(c, stdin);
torped.c 107 k = ungetc(getchar(), stdin);
computer.c 300 ungetc(i, stdin);
  /src/usr.bin/fpr/
fpr.c 108 ungetc((int) EOL, stdin);
125 ungetc(ch, stdin);
139 ungetc((int) EOL, stdin);
161 ungetc(ch, stdin);
  /src/lib/libc/stdio/
Makefile.inc 18 sscanf.c stdio.c swprintf.c swscanf.c tmpfile.c ungetc.c ungetwc.c \
32 tmpnam.3 ungetc.3 ungetwc.3 wprintf.3 wscanf.3 open_memstream.3
ungetc.c 1 /* $NetBSD: ungetc.c,v 1.17 2012/03/15 18:22:30 christos Exp $ */
38 static char sccsid[] = "@(#)ungetc.c 8.2 (Berkeley) 11/3/93";
40 __RCSID("$NetBSD: ungetc.c,v 1.17 2012/03/15 18:22:30 christos Exp $");
53 * Expand the ungetc buffer `in place'. That is, adjust fp->_p when
93 ungetc(int c, FILE *fp) function in typeref:typename:int
127 * If we are in the middle of ungetc'ing, just continue.
128 * This may require expanding the current ungetc buffer.
156 * Create an ungetc buffer.
vfscanf.c 506 (void)ungetc(buf[n],
607 (void)ungetc(buf[n],
772 (void)ungetc(*(u_char *)--p, fp);
778 (void)ungetc(c, fp);
977 * or fail, and we will ungetc() back to the last commit point.
1106 (void)ungetc(*(u_char *)p, fp);
  /src/usr.bin/rdist/
gram.y 245 ungetc(c, fin);
281 ungetc(c, fin);
303 ungetc(c, fin);
  /src/usr.bin/sed/
main.c 365 (void)ungetc(c, infile);
537 ungetc(ch, file_fd);
563 ungetc(ch, infile);
  /src/usr.bin/ctags/
C.c 136 (void)ungetc(c, inf);
158 ungetc(c, inf);
334 (void)ungetc(c, inf);
347 (void)ungetc(c, inf);
372 ungetc(c, inf);
455 (void)ungetc(c, inf);
490 ungetc(c, inf);
560 (void)ungetc(c, inf);
  /src/usr.sbin/lpr/filters/
lpf.c 171 ungetc(ch, stdin);
  /src/sys/external/bsd/acpica/dist/compiler/
dtio.c 546 ungetc(c1, Handle);
729 ungetc (c, Handle);
773 ungetc (c, Handle);
  /src/usr.bin/sort/
files.c 274 ungetc(*((char *) rec + i), fp);
  /src/usr.bin/bdes/
bdes.c 582 (void)ungetc(c, stdin);
654 (void)ungetc(c, stdin);
788 (void)ungetc(c, stdin);
881 (void)ungetc(c, stdin);
975 (void)ungetc(c, stdin);
  /src/common/dist/zlib/examples/
zran.c 208 (strm.avail_in || ungetc(getc(in), in) != EOF))
424 if (strm.avail_in || ungetc(getc(in), in) != EOF) {
  /src/sys/external/bsd/sljit/dist/doc/tutorial/
brainfuck.c 76 ungetc(chr2, src);
  /src/bin/ed/
cbc.c 451 (void)ungetc(c, fp);
  /src/usr.bin/xlint/llib/
llib-lstdc 169 int (ungetc)(int c, FILE *stream);
llib-lposix 304 int (ungetc)(int c, FILE *stream);
  /src/usr.bin/dc/
inout.c 84 (void)ungetc(src->lastchar, src->u.stream);
  /src/include/
stdio.h 106 * _ub (via _ext and struct __sfileext), _up, and _ur are used when ungetc()
107 * pushes back more characters than fit in the current _bf, or when ungetc()
109 * When this happens, _ext._base becomes non-nil (i.e., a stream has ungetc()
132 /* separate buffer for long sequences of ungetc() */
133 unsigned char *_up; /* saved _p when _p is doing ungetc data */
134 int _ur; /* saved _r when _r is counting ungetc data */
137 unsigned char _ubuf[3]; /* guarantee an ungetc() buffer */
261 int ungetc(int, FILE *);
  /src/lib/libwrap/
options.c 252 ungetc(ch, fp);
  /src/usr.bin/usbhidaction/
usbhidaction.c 232 (void)ungetc(c, f);
  /src/usr.bin/mail/
support.c 234 (void)ungetc(c = getc(f), f);

Completed in 29 milliseconds

1 2