Symbol: ungetc
distrib/special/more/more.c
88
#define Ungetc(c, f) (--file_pos, ungetc(c, f))
games/boggle/boggle/help.c
56
if (ungetc(getc(fp), fp) == EOF) {
games/boggle/boggle/help.c
71
if (eof || ungetc(getc(fp), fp) == EOF) {
games/trek/computer.c
297
ungetc(i, stdin);
games/trek/getpar.c
230
ungetc(c, stdin);
games/trek/getpar.c
233
ungetc(c, stdin);
games/trek/getpar.c
248
ungetc('\n', stdin);
games/trek/getpar.c
267
ungetc(c, stdin);
games/trek/getpar.c
291
ungetc(c, stdin);
games/trek/torped.c
103
k = ungetc(getchar(), stdin);
include/stdio.h
186
int ungetc(int, FILE *);
lib/libc/hidden/stdio.h
115
PROTO_NORMAL(ungetc);
lib/libc/stdio/ungetc.c
146
DEF_STRONG(ungetc);
lib/libc/stdio/vfscanf.c
452
ungetc(buf[n],
lib/libc/stdio/vfscanf.c
555
ungetc(buf[n],
lib/libc/stdio/vfscanf.c
721
(void) ungetc(*(u_char *)--p, fp);
lib/libc/stdio/vfscanf.c
727
(void) ungetc(c, fp);
lib/libc/stdio/vfscanf.c
827
ungetc(*(u_char *)--p, fp);
lib/libc/stdio/vfscanf.c
833
(void) ungetc(c, fp);/* sign */
lib/libc/stdio/vfscanf.c
836
(void) ungetc(c, fp);
regress/lib/libc/orientation/orientation_test.c
180
TEST_NARROW(c = fgetc(f); ungetc(c, f));
regress/lib/libc/stdio/test___freading.c
88
assert(ungetc('X', fp) != 0);
regress/lib/libc/stdio/test___freadptr.c
59
ungetc('A', fp);
regress/lib/libc/stdio/test___freadptr.c
60
ungetc('A', fp);
regress/lib/libc/stdio/test___freadptr.c
61
ungetc('A', fp);
regress/lib/libc/stdio/test___fwriting.c
69
ungetc('e', fp);
regress/lib/libc/stdio/test_fflush.c
102
ungetc('A', fp);
regress/lib/libc/stdio/test_fflush.c
103
ungetc('A', fp);
regress/lib/libc/stdio/test_fflush.c
104
ungetc('A', fp);
regress/lib/libc/stdio/test_fflush.c
105
ungetc('A', fp);
regress/lib/libc/stdio/test_fflush.c
124
ungetc('A', fp);
regress/lib/libc/stdio/test_fflush.c
125
ungetc('A', fp);
regress/lib/libc/stdio/test_fflush.c
126
ungetc('A', fp);
regress/lib/libc/stdio/test_fflush.c
127
ungetc('A', fp);
regress/lib/libc/stdio/test_fflush.c
314
ungetc(c, fp); /* push back the character has been read */
regress/lib/libc/stdio/test_fflush.c
322
ungetc('X', fp); /* push back the character has not been read */
sbin/scsi/scsi.c
443
ungetc(c, f);
sbin/unwind/libunbound/sldns/parse.c
485
ungetc(c, fp);
sbin/unwind/libunbound/validator/val_anchor.c
570
ungetc(c, in);
sbin/unwind/libunbound/validator/val_anchor.c
574
ungetc(c, in);
sbin/unwind/libunbound/validator/val_anchor.c
594
ungetc(c, in);
sys/arch/amd64/stand/rdboot/cmd.c
282
ungetc(c, stdin);
sys/arch/octeon/stand/rdboot/cmd.c
278
ungetc(c, stdin);
sys/arch/powerpc64/stand/rdboot/cmd.c
276
ungetc(c, stdin);
usr.bin/awk/b.c
956
if (*--k && ungetc(*k, f) == EOF)
usr.bin/awk/lib.c
255
ungetc(c, inf);
usr.bin/ctags/C.c
123
(void)ungetc(c, inf);
usr.bin/ctags/C.c
147
ungetc(c, inf);
usr.bin/ctags/C.c
214
(void)ungetc(c, inf);
usr.bin/ctags/C.c
337
(void)ungetc(c, inf);
usr.bin/ctags/C.c
350
(void)ungetc(c, inf);
usr.bin/ctags/C.c
377
(void)ungetc(c, inf);
usr.bin/ctags/C.c
468
(void)ungetc(c, inf);
usr.bin/ctags/C.c
502
ungetc(c, inf);
usr.bin/ctags/C.c
572
(void)ungetc(c, inf);
usr.bin/ctags/yacc.c
108
(void)ungetc(c, inf);
usr.bin/ctags/yacc.c
76
(void)ungetc(c, inf);
usr.bin/ctags/yacc.c
82
(void)ungetc(c, inf);
usr.bin/cvs/rcsparse.c
854
ungetc(c, rfp->rf_file);
usr.bin/cvs/rcsparse.c
982
ungetc(c, rfp->rf_file);
usr.bin/dc/inout.c
81
(void)ungetc(src->lastchar, src->u.stream);
usr.bin/deroff/deroff.c
632
ungetc(c, infile);
usr.bin/deroff/deroff.c
798
ungetc(c, infile);
usr.bin/doas/parse.y
327
ungetc(c, yyfp);
usr.bin/indent/indent.c
1231
ungetc(c, input);
usr.bin/mail/util.c
182
ungetc(c = getc(f), f);
usr.bin/pkgconf/libpkgconf/fileio.c
57
ungetc(c2, stream);
usr.bin/pkgconf/libpkgconf/fileio.c
84
ungetc(c2, stream);
usr.bin/pr/pr.c
1170
if ((col > lim) && (ungetc(ch, inf) == EOF)) {
usr.bin/rcs/rcsparse.c
854
ungetc(c, rfp->rf_file);
usr.bin/rcs/rcsparse.c
981
ungetc(c, rfp->rf_file);
usr.bin/rdist/gram.y
269
(void) ungetc(c, fin);
usr.bin/rdist/gram.y
305
(void) ungetc(c, fin);
usr.bin/rdist/gram.y
327
(void) ungetc(c, fin);
usr.bin/sed/main.c
365
(void)ungetc(c, infile);
usr.bin/sed/main.c
503
ungetc(ch, file_fd);
usr.bin/sed/main.c
527
ungetc(ch, infile);
usr.bin/ssh/ssh-keygen.c
572
if (c != EOF && c != '\n' && ungetc(c, fp) == EOF)
usr.bin/tail/forward.c
273
if (pos < 0 && off > 0 && ch != EOF && ungetc(ch, tf[0].fp) == EOF) {
usr.bin/tail/reverse.c
150
if (ch != EOF && ungetc(ch, tf->fp) == EOF) {
usr.bin/tmux/cmd-parse.y
1195
ungetc(ch, ps->f);
usr.bin/usbhidaction/usbhidaction.c
225
ungetc(c, f);
usr.sbin/amd/amd/info_file.c
72
(void) ungetc(ch, fp);
usr.sbin/cron/misc.c
54
ungetc(ch, file);
usr.sbin/dhcpd/conflex.c
265
ungetc(c, cfile);
usr.sbin/inetd/inetd.c
1320
(void) ungetc(c, fconfig);
usr.sbin/lpr/filters/lpf.c
154
ungetc(ch, stdin);
usr.sbin/pppd/options.c
898
ungetc (c, f);
usr.sbin/quot/quot.c
419
ungetc(c, stdin);
usr.sbin/snmpd/mib.y
1152
ungetc(c, file.stream);
usr.sbin/snmpd/mib.y
1165
ungetc(c, file.stream);
usr.sbin/snmpd/mib.y
1171
ungetc(c, file.stream);
usr.sbin/snmpd/mib.y
1179
ungetc(c, file.stream);
usr.sbin/snmpd/mib.y
1186
ungetc('-', file.stream);
usr.sbin/snmpd/mib.y
1187
ungetc('-', file.stream);
usr.sbin/snmpd/parse.y
1407
ungetc(c, file->stream);
usr.sbin/unbound/sldns/parse.c
485
ungetc(c, fp);
usr.sbin/unbound/validator/val_anchor.c
570
ungetc(c, in);
usr.sbin/unbound/validator/val_anchor.c
574
ungetc(c, in);
usr.sbin/unbound/validator/val_anchor.c
594
ungetc(c, in);
usr.sbin/vmd/parse.y
930
ungetc(c, file->stream);
usr.sbin/ypserv/makedbm/makedbm.c
69
(void) ungetc(ch, fp);
usr.sbin/ypserv/mknetid/mknetid.c
87
(void) ungetc(ch, fp);