Symbol: getc
bin/cat/cat.c
177
for (prev = '\n'; (ch = getc(fp)) != EOF; prev = ch) {
bin/cpdup/misc.c
72
c = getc(fi);
bin/cpdup/misc.c
75
c = getc(fi);
bin/ed/cbc.c
117
return (getc(fp));
bin/ed/io.c
122
while (((c = des ? get_des_char(fp) : getc(fp)) != EOF || (!feof(fp) &&
games/adventure/setup.c
89
while ((c = getc(infile)) != EOF) {
games/adventure/setup.c
93
while ((c = getc(infile)) == ' ' && c != EOF);
games/boggle/boggle/help.c
55
if (ungetc(getc(fp), fp) == EOF) {
games/boggle/boggle/help.c
70
if (eof || ungetc(getc(fp), fp) == EOF) {
games/boggle/boggle/word.c
76
if ((pcount = getc(fp)) == EOF)
games/boggle/boggle/word.c
84
while ((ch = getc(fp)) != EOF && ch >= 'a')
games/boggle/mkdict/mkdict.c
77
while ((ch = getc(stdin)) != EOF && ch != '\n')
games/boggle/mkindex/mkindex.c
83
if ((pcount = getc(fp)) == EOF)
games/boggle/mkindex/mkindex.c
92
while ((ch = getc(fp)) != EOF && ch >= 'a')
games/gomoku/main.c
348
while ((c = getc(fp)) != EOF && c != '\n' && pos < sizeof(buf) - 1)
games/sail/sync.c
374
ch = getc(sync_fp);
include/stdio.h
236
int getc(FILE *);
include/stdio.h
477
#define getc(fp) (!__isthreaded ? __sgetc(fp) : (getc)(fp))
include/stdio.h
480
#define getchar() getc(stdin)
lib/libc/db/recno/rec_get.c
133
if ((ch = getc(t->bt_rfp)) == EOF || !--len) {
lib/libc/db/recno/rec_get.c
178
if ((ch = getc(t->bt_rfp)) == EOF || ch == bval) {
lib/libc/net/rcmd.c
585
while ((ch = getc(hostf)) != '\n' && ch != EOF);
lib/libcompat/4.3/rexec.c
105
while ((c = getc(cfile)) != EOF &&
lib/libcompat/4.3/rexec.c
112
while ((c = getc(cfile)) != EOF && c != '"') {
lib/libcompat/4.3/rexec.c
114
c = getc(cfile);
lib/libcompat/4.3/rexec.c
119
while ((c = getc(cfile)) != EOF
lib/libcompat/4.3/rexec.c
122
c = getc(cfile);
lib/libcompat/4.3/rexec.c
228
while ((c=getc(cfile)) != EOF &&
lib/libcompat/4.3/rexec.c
241
for (i=0; i < 8 && (c=getc(cfile)) != EOF &&
lib/libcompat/4.3/rexec.c
251
while ((c=getc(cfile)) != EOF && c != '\n');
lib/libcompat/4.3/rexec.c
265
if ((c=getc(cfile)) == EOF) {
lib/libevtr/ktrfmt.yy.c
655
(c = getc( __ktrfmtin )) != EOF && c != '\n'; ++n ) \
lib/libtelnet/rsaencpwd.c
210
j = getc(fp); key[i]=j;
lib/libtelnet/rsaencpwd.c
265
j = getc(fp);
lib/libtelnet/rsaencpwd.c
272
j = getc(fp); key[i]=j;
libexec/diff3prog/diff3prog.c
493
c = getc(fp[0]);
libexec/diff3prog/diff3prog.c
494
d = getc(fp[1]);
libexec/fingerd/fingerd.c
188
while ((ch = getc(fp)) != EOF) {
libexec/ftpd/ftpcmd.y
1212
while ((c = getc(iop)) != EOF) {
libexec/ftpd/ftpcmd.y
1215
if ((c = getc(iop)) == EOF)
libexec/ftpd/ftpcmd.y
1221
if ((c = getc(iop)) == EOF)
libexec/ftpd/ftpcmd.y
1228
if ((c = getc(iop)) == EOF)
libexec/ftpd/ftpcmd.y
1247
while (c != '\n' && (c = getc(iop)) != EOF)
libexec/ftpd/ftpcmd.y
1642
while((c=getc(fin)) != EOF) {
libexec/ftpd/ftpd.c
1674
if ((c=getc(fin)) == EOF) {
libexec/ftpd/ftpd.c
1754
if ((c=getc(fout)) == EOF) {
libexec/ftpd/ftpd.c
2018
c = getc(instr);
libexec/ftpd/ftpd.c
2217
c = getc(instr);
libexec/ftpd/ftpd.c
2302
while ((c = getc(fin)) != EOF) {
libexec/mknetid/parse_group.c
115
while ((ch = getc(_gr_fp)) != '\n' && ch != EOF)
sbin/dhclient/conflex.c
103
int c = getc(cfile);
sbin/fsck/utilities.c
100
while (c != '\n' && getc(stdin) != '\n') {
sbin/fsck/utilities.c
99
c = getc(stdin);
sbin/ip6fw/ip6fw.c
1221
c = toupper(getc(stdin));
sbin/ip6fw/ip6fw.c
1222
while (c != '\n' && getc(stdin) != '\n')
sbin/ipfw/ipfw2.c
3564
c = toupper(getc(stdin));
sbin/ipfw/ipfw2.c
3565
while (c != '\n' && getc(stdin) != '\n')
sbin/ipfw/ipfw2.c
3633
c = toupper(getc(stdin));
sbin/ipfw/ipfw2.c
3634
while (c != '\n' && getc(stdin) != '\n')
sbin/ipfw/ipfw2.c
3968
c = toupper(getc(stdin));
sbin/ipfw/ipfw2.c
3969
while (c != '\n' && getc(stdin) != '\n')
sbin/ipfw3/ipfw3.c
657
c = toupper(getc(stdin));
sbin/ipfw3/ipfw3.c
658
while (c != '\n' && getc(stdin) != '\n')
sbin/ipfw3/ipfw3dummynet.c
696
c = toupper(getc(stdin));
sbin/ipfw3/ipfw3dummynet.c
697
while (c != '\n' && getc(stdin) != '\n')
sbin/ipfw3/ipfw3nat.c
276
c = toupper(getc(stdin));
sbin/ipfw3/ipfw3nat.c
277
while (c != '\n' && getc(stdin) != '\n')
sbin/ipfw3/ipfw3state.c
116
c = toupper(getc(stdin));
sbin/ipfw3/ipfw3state.c
117
while (c != '\n' && getc(stdin) != '\n')
sbin/restore/utilities.c
387
c = getc(terminal);
sbin/restore/utilities.c
388
while (c != '\n' && getc(terminal) != '\n')
stand/boot/pc32/boot2/boot2.c
184
static int getc(int);
stand/boot/pc32/boot2/boot2.c
787
if ((opts & RBF_VIDEO) && getc(1))
stand/boot/pc32/boot2/boot2.c
788
return fn ? 1 : getc(0);
sys/sys/cons.h
96
#define CONS_DRIVER(name, probe, init, initfini, term, getc, checkc, putc, dbctl, poller) \
sys/sys/cons.h
98
probe, init, initfini, term, getc, checkc, putc, dbctl, \
tools/tools/ath/athprom/athprom.c
232
c = getc(fd);
tools/tools/ath/athprom/athprom.c
258
c = getc(fd);
tools/tools/ath/athprom/athprom.c
269
c = getc(fd);
tools/tools/ath/athprom/athprom.c
289
while ((c = getc(fd)) != EOF && isblank(c))
tools/tools/ath/athprom/athprom.c
876
while ((c = getc(ftemplate)) != EOF) {
tools/tools/ath/athprom/athprom.c
879
while ((c = getc(ftemplate)) != EOF && c != '\n')
tools/tools/ath/athprom/athprom.c
969
c = getc(ftemplate);
usr.bin/at/at.c
600
while((ch = getc(fp)) != EOF) {
usr.bin/cmp/special.c
60
if (getc(fp1) == EOF)
usr.bin/cmp/special.c
63
if (getc(fp2) == EOF)
usr.bin/cmp/special.c
67
ch1 = getc(fp1);
usr.bin/cmp/special.c
68
ch2 = getc(fp2);
usr.bin/ctags/ctags.h
44
#define GETC(op,exp) ((c = getc(inf)) op (int)exp)
usr.bin/cut/cut.c
240
if ((ch = getc(fp)) == EOF)
usr.bin/cut/cut.c
249
while ((ch = getc(fp)) != EOF && ch != '\n')
usr.bin/cut/cut.c
252
while ((ch = getc(fp)) != EOF && ch != '\n');
usr.bin/dc/inout.c
79
return src->lastchar = getc(src->u.stream);
usr.bin/diff/diffreg.c
1102
diff_output("%c", getc(lb));
usr.bin/diff/diffreg.c
1131
if ((c = getc(lb)) == EOF) {
usr.bin/diff/diffreg.c
1178
for (i = 0; (t = getc(f)) != '\n'; i++) {
usr.bin/diff/diffreg.c
1187
for (i = 0; (t = getc(f)) != '\n'; i++) {
usr.bin/diff/diffreg.c
1197
switch (t = getc(f)) {
usr.bin/diff/diffreg.c
719
c = getc(f1);
usr.bin/diff/diffreg.c
720
d = getc(f2);
usr.bin/diff/diffreg.c
742
} while (isspace(c = getc(f1)));
usr.bin/diff/diffreg.c
747
} while (isspace(d = getc(f2)));
usr.bin/diff/diffreg.c
750
c = getc(f1);
usr.bin/diff/diffreg.c
754
d = getc(f2);
usr.bin/diff/diffreg.c
773
if ((c = getc(f1)) != (d = getc(f2))) {
usr.bin/diff/diffreg.c
844
for (i = 1; (c = getc(f)) != '\n' && c != EOF; i++)
usr.bin/diff/diffreg.c
889
if ((c = getc(f1)) == EOF)
usr.bin/finger/lprint.c
329
while ((ch = getc(fp)) != EOF)
usr.bin/finger/net.c
169
while ((c = getc(fp)) != EOF) {
usr.bin/indent/args.c
201
while ((i = getc(f)) != EOF) {
usr.bin/indent/io.c
300
if ((i = getc(f)) == EOF) {
usr.bin/localedef/scanner.c
253
c = getc(stdin);
usr.bin/localedef/scanner.c
255
c = getc(input);
usr.bin/locate/locate/fastfind.c
156
p[c] = check_bigram_char(getc(fp));
usr.bin/locate/locate/fastfind.c
157
s[c] = check_bigram_char(getc(fp));
usr.bin/locate/locate/fastfind.c
193
c = getc(fp);
usr.bin/locate/locate/fastfind.c
219
c = getc(fp);
usr.bin/locate/locate/fastfind.c
236
c = getc(fp);
usr.bin/locate/locate/fastfind.c
54
p[c] = check_bigram_char(getc(fp));
usr.bin/locate/locate/fastfind.c
55
s[c] = check_bigram_char(getc(fp));
usr.bin/locate/locate/fastfind.c
61
for (c = getc(fp), count = 0; c != EOF; size++) {
usr.bin/locate/locate/fastfind.c
69
for (p = path + count; (c = getc(fp)) > SWITCH; size++)
usr.bin/locate/locate/fastfind.c
72
c = getc(fp);
usr.bin/m4/eval.c
733
while ((c = getc(pf)) != EOF)
usr.bin/m4/gnum4.c
657
while ((c = getc(f)) != EOF)
usr.bin/m4/manual_tokenizer.c
605
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
usr.bin/m4/misc.c
235
while ((c = getc(outfile[n])) != EOF)
usr.bin/mail/cmd3.c
151
while ((c = getc(f)) != EOF)
usr.bin/mail/collect.c
432
while ((t = getc(fbuf)) != EOF)
usr.bin/mail/collect.c
444
while ((t = getc(collf)) != EOF)
usr.bin/mail/collect.c
514
while ((c = getc(fp)) != EOF) {
usr.bin/mail/collect.c
721
while ((c = getc(fp)) != EOF)
usr.bin/mail/edit.c
107
while ((c = getc(fp)) != EOF) {
usr.bin/mail/edit.c
149
while (--size >= 0 && (t = getc(fp)) != EOF)
usr.bin/mail/edit.c
152
while ((t = getc(fp)) != EOF)
usr.bin/mail/names.c
329
while ((c = getc(fo)) != EOF)
usr.bin/mail/names.c
393
while ((c = getc(fin)) != EOF)
usr.bin/mail/quit.c
116
while ((c = getc(fbuf)) != EOF)
usr.bin/mail/quit.c
121
c = getc(fbuf);
usr.bin/mail/quit.c
218
while ((c = getc(abuf)) != EOF)
usr.bin/mail/quit.c
264
c = getc(ibuf);
usr.bin/mail/quit.c
269
c = getc(ibuf);
usr.bin/mail/quit.c
308
while ((c = getc(rbuf)) != EOF)
usr.bin/mail/quit.c
347
while ((c = getc(res)) != EOF)
usr.bin/mail/quit.c
361
while ((c = getc(res)) != EOF)
usr.bin/mail/quit.c
440
while ((c = getc(ibuf)) != EOF)
usr.bin/mail/quit.c
473
while ((c = getc(ibuf)) != EOF)
usr.bin/mail/send.c
213
if ((c = getc(ibuf)) != EOF && putc(c, obuf) == EOF)
usr.bin/mail/send.c
469
c = getc(fi);
usr.bin/mail/send.c
472
c = getc(fi);
usr.bin/mail/tty.c
153
c = getc(stdin);
usr.bin/mail/util.c
182
ungetc(c = getc(f), f);
usr.bin/mkstr/mkstr.c
317
while (--rmdr > 0 && (c = getc(file)) != 0 && c != EOF)
usr.bin/mkstr/mkstr.c
320
getc(file);
usr.bin/pr/pr.c
1027
while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) {
usr.bin/pr/pr.c
1057
while ((ch = getc(inf)) != EOF) {
usr.bin/pr/pr.c
1230
while ((c = getc(inf)) != EOF) {
usr.bin/pr/pr.c
146
while ((pch = getc(ttyfp)) != '\n' && pch != EOF)
usr.bin/pr/pr.c
995
while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) {
usr.bin/sed/main.c
345
if (infile != NULL && (c = getc(infile)) != EOF && !quit) {
usr.bin/sed/main.c
517
if ((ch = getc(file_fd)) != EOF) {
usr.bin/sed/main.c
543
if ((ch = getc(infile)) == EOF) {
usr.bin/strfile/strfile.c
391
while (!isalnum(c1 = getc(Sort_1)) && c1 != '\0' && c1 != EOF)
usr.bin/strfile/strfile.c
393
while (!isalnum(c2 = getc(Sort_2)) && c2 != '\0' && c2 != EOF)
usr.bin/strfile/strfile.c
407
c1 = getc(Sort_1);
usr.bin/strfile/strfile.c
408
c2 = getc(Sort_2);
usr.bin/tail/forward.c
111
if ((ch = getc(fp)) == EOF) {
usr.bin/tail/forward.c
125
if ((ch = getc(fp)) == EOF) {
usr.bin/tail/forward.c
144
while (getc(fp) != EOF)
usr.bin/tail/forward.c
166
while (getc(fp) != EOF)
usr.bin/tail/forward.c
182
while ((ch = getc(fp)) != EOF) {
usr.bin/tail/forward.c
251
while ((ch = getc(file->fp)) != EOF) {
usr.bin/tail/read.c
146
while ((ch = getc(fp)) != EOF) {
usr.bin/tail/read.c
69
for (wrap = 0, ep = p + off; (ch = getc(fp)) != EOF;) {
usr.bin/tftp/tftpsubs.c
150
c = getc(file);
usr.bin/tip/cmds.c
423
c = getc(fd);
usr.bin/tsort/tsort.c
150
for (n = 0, c = getc(fp);;) {
usr.bin/tsort/tsort.c
152
c = getc(fp);
usr.bin/tsort/tsort.c
163
c = getc(fp);
usr.bin/unvis/unvis.c
102
while ((c = getc(fp)) != EOF) {
usr.bin/usbhidaction/usbhidaction.c
270
c = getc(f);
usr.bin/vis/vis.c
184
c = (wint_t)getc(fp);
usr.bin/vis/vis.c
195
rachar = (wint_t)getc(fp);
usr.bin/window/scanner.c
54
c = getc(cx.x_fp);
usr.bin/xstr/xstr.c
328
return (getc(file));
usr.bin/xstr/xstr.c
443
c = getc(strf);
usr.sbin/bootparamd/bootparamd/bootparamd.c
237
pch = ch = getc(bpf);
usr.sbin/bootparamd/bootparamd/bootparamd.c
239
pch = ch; ch = getc(bpf);
usr.sbin/bootparamd/bootparamd/bootparamd.c
249
ch = getc(bpf); /* and a character */
usr.sbin/bootparamd/bootparamd/bootparamd.c
258
while (isspace(ch) && ch != '\n') ch = getc(bpf);
usr.sbin/bootparamd/bootparamd/bootparamd.c
264
ch = getc(bpf); /* maybe on next line */
usr.sbin/bootparamd/bootparamd/bootparamd.c
341
pch = ch = getc(bpf);
usr.sbin/bootparamd/bootparamd/bootparamd.c
343
pch = ch; ch = getc(bpf);
usr.sbin/config/main.c
280
while ((ch = getc(fp)) != EOF)
usr.sbin/config/main.c
299
while ((ch = getc(fp)) != EOF) {
usr.sbin/config/main.c
325
while ((ch = getc(fp)) != EOF)
usr.sbin/config/main.c
346
while ((ch = getc(fp)) != EOF) {
usr.sbin/config/main.c
359
while ((ch = getc(fp)) != EOF) {
usr.sbin/config/main.c
410
while (EOF != (i = getc(fi))) {
usr.sbin/cron/cron/do_command.c
415
ch = getc(in);
usr.sbin/cron/cron/do_command.c
483
while (EOF != (ch = getc(in))) {
usr.sbin/cron/lib/misc.c
282
ch = getc(file);
usr.sbin/fdwrite/fdwrite.c
127
i = getc(tty);
usr.sbin/inetd/inetd.c
1821
c = getc(fconfig);
usr.sbin/installer/dfuibe_installer/fn_zonetab.c
55
while (--len > 0 && (i = getc(f)) != EOF)
usr.sbin/lpr/common_source/common.c
77
while ((c = getc(cfp)) != '\n' && (size_t)(linel+1) < sizeof(line)) {
usr.sbin/lpr/common_source/displayq.c
152
while ((i = getc(fp)) != EOF && i != '\n') {
usr.sbin/lpr/common_source/displayq.c
171
while ((i = getc(fp)) != EOF && i != '\n') {
usr.sbin/lpr/filters/lpf.c
118
switch (ch = getc(p)) {
usr.sbin/lpr/lpd/printjob.c
1467
while ((i = getc(fp)) != EOF)
usr.sbin/makefs/mtree.c
1024
(void)getc(fp);
usr.sbin/makefs/mtree.c
1073
c = getc(fp);
usr.sbin/makefs/mtree.c
1086
(void)getc(fp);
usr.sbin/makefs/mtree.c
306
c = getc(fp);
usr.sbin/makefs/mtree.c
308
c = getc(fp);
usr.sbin/makefs/mtree.c
321
c = getc(fp);
usr.sbin/makefs/mtree.c
323
c = getc(fp);
usr.sbin/makefs/mtree.c
347
c = getc(fp);
usr.sbin/makefs/mtree.c
816
(void)getc(fp);
usr.sbin/mtree/getid.c
227
while ((ch = getc(_gr_fp)) != '\n' && ch != EOF)
usr.sbin/mtree/getid.c
375
while ((ch = getc(_pw_fp)) != '\n' && ch != EOF)
usr.sbin/newsyslog/newsyslog.c
2551
while ((c = getc(src)) != EOF) {
usr.sbin/pfctl/parse.y
5463
if ((c = getc(file->stream)) == EOF) {
usr.sbin/pfctl/parse.y
5472
while ((c = getc(file->stream)) == '\\') {
usr.sbin/pfctl/parse.y
5473
next = getc(file->stream);
usr.sbin/pfctl/parse.y
5485
c = getc(file->stream);
usr.sbin/zic/zic.c
623
while ((c = getc(fp)) != EOF)