Symbol: getc
bin/cat/cat.c
176
for (prev = '\n'; (ch = getc(fp)) != EOF; prev = ch) {
bin/ed/io.c
128
while (((c = des ? get_des_char(fp) : getc(fp)) != EOF || (!feof(fp) &&
common/dist/zlib/examples/zran.c
222
(index->strm.avail_in || ungetc(getc(in), in) != EOF)) {
common/dist/zlib/examples/zran.c
365
if (point->bits && (ch = getc(in)) == EOF)
common/dist/zlib/examples/zran.c
432
if (getc(in) == EOF)
common/dist/zlib/examples/zran.c
438
if (index->strm.avail_in || ungetc(getc(in), in) != EOF) {
dist/pf/sbin/pfctl/parse.y
5045
while ((c = getc(f)) == '\\') {
dist/pf/sbin/pfctl/parse.y
5046
next = getc(f);
dist/pf/sbin/pfctl/parse.y
5057
c = getc(f);
distrib/utils/libhack/getgrent.c
274
while ((ch = getc(_gr_fp)) != '\n' && ch != EOF)
distrib/utils/libhack/getpwent.c
222
while ((ch = getc(_pw_fp)) != '\n' && ch != EOF)
distrib/utils/more/os.c
247
if ((ch = getc(f)) == '\n' || ch == EOF)
games/adventure/setup.c
103
while ((c = getc(infile)) == ' ' && c != EOF);
games/adventure/setup.c
99
while ((c = getc(infile)) != EOF) {
games/boggle/boggle/help.c
66
if (ungetc(getc(fp), fp) == EOF) {
games/boggle/boggle/help.c
81
if (eof || ungetc(getc(fp), fp) == EOF) {
games/boggle/boggle/word.c
88
if ((pcount = getc(fp)) == EOF)
games/boggle/boggle/word.c
96
while ((ch = getc(fp)) != EOF && ch >= 'a')
games/boggle/mkdict/mkdict.c
78
while ((ch = getc(stdin)) != EOF && ch != '\n')
games/boggle/mkindex/mkindex.c
107
if ((pcount = getc(fp)) == EOF)
games/boggle/mkindex/mkindex.c
116
while ((ch = getc(fp)) != EOF && ch >= 'a')
games/fortune/strfile/strfile.c
402
while (!isalnum(c1 = getc(Sort_1)) && c1 != '\0')
games/fortune/strfile/strfile.c
404
while (!isalnum(c2 = getc(Sort_2)) && c2 != '\0')
games/fortune/strfile/strfile.c
418
c1 = getc(Sort_1);
games/fortune/strfile/strfile.c
419
c2 = getc(Sort_2);
games/gomoku/main.c
408
while ((c = getc(fp)) != EOF && c != '\n' && pos < sizeof(buf) - 1)
games/sail/sync.c
374
ch = getc(sync_fp);
include/stdio.h
244
int getc(FILE *);
include/stdio.h
498
#define getchar() getc(stdin)
lib/libc/db/recno/rec_get.c
142
if ((ch = getc(t->bt_rfp)) == EOF || !--len) {
lib/libc/db/recno/rec_get.c
186
if ((ch = getc(t->bt_rfp)) == EOF || ch == bval) {
lib/libc/gen/getgrent.c
1453
while ((ch = getc(state->fp)) != '\n' && ch != EOF)
lib/libc/gen/getgrent.c
367
while ((ch = getc(state->fp)) != '\n' && ch != EOF)
lib/libc/gen/wordexp.c
163
while ((i = getc(fp)) != EOF) {
lib/libc/gen/wordexp.c
171
while ((i = getc(fp)) != EOF) {
lib/libc/net/rcmd.c
791
while ((ch = getc(hostf)) != '\n' && ch != EOF)
lib/libc/time/zic.c
1868
for (; (c = getc(fp)) != EOF; check_for_signal())
lib/libc/time/zic.c
1992
for (; (ch = getc(fp)) != '\n'; check_for_signal()) {
lib/libcompat/4.3/ruserpass.c
192
while ((c=getc(cfile)) != EOF)
lib/libcompat/4.3/ruserpass.c
206
for (i=0; i < 8 && (c=getc(cfile)) != EOF &&
lib/libcompat/4.3/ruserpass.c
217
while ((c=getc(cfile)) != EOF && c != '\n');
lib/libcompat/4.3/ruserpass.c
233
if ((c=getc(cfile)) == EOF) {
lib/libcompat/4.3/ruserpass.c
276
while ((c = getc(cfile)) != EOF &&
lib/libcompat/4.3/ruserpass.c
283
while ((c = getc(cfile)) != EOF && c != '"') {
lib/libcompat/4.3/ruserpass.c
285
c = getc(cfile);
lib/libcompat/4.3/ruserpass.c
290
while ((c = getc(cfile)) != EOF
lib/libcompat/4.3/ruserpass.c
293
c = getc(cfile);
lib/libedit/filecomplete.c
786
if (getc(stdin) != 'y')
lib/libresolv/dst_api.c
502
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
506
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
512
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
515
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
521
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
524
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
534
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
537
while ((c = getc(fp)) != EOF)
lib/libresolv/dst_api.c
552
while ((c = getc(fp)) != EOF)
libexec/fingerd/fingerd.c
215
while ((ch = getc(fp)) != EOF) {
libexec/ftpd/cmds.c
489
while((c = getc(fin)) != EOF) {
libexec/ftpd/cmds.c
517
while ((c = getc(fin)) != EOF) {
libexec/ftpd/ftpcmd.y
1393
while ((c = getc(iop)) != EOF) {
libexec/ftpd/ftpcmd.y
1398
if ((c = getc(iop)) != EOF) {
libexec/ftpd/ftpcmd.y
1405
c = getc(iop);
libexec/ftpd/ftpcmd.y
1413
c = getc(iop);
libexec/ftpd/ftpcmd.y
1437
while (c != '\n' && (c = getc(iop)) != EOF)
libexec/ftpd/ftpd.c
1766
if ((c=getc(fin)) == EOF) {
libexec/ftpd/ftpd.c
1873
if ((c=getc(fout)) == EOF) {
libexec/ftpd/ftpd.c
2292
while ((c = getc(instr)) != EOF) {
libexec/ftpd/ftpd.c
2490
while ((c = getc(instr)) != EOF) {
libexec/ftpd/ftpd.c
2505
if ((c = getc(instr)) != '\n') {
sbin/fsck_ext2fs/utilities.c
130
c = getc(stdin);
sbin/fsck_ext2fs/utilities.c
131
while (c != '\n' && getc(stdin) != '\n')
sbin/fsck_ffs/utilities.c
112
c = getc(stdin);
sbin/fsck_ffs/utilities.c
113
while (c != '\n' && getc(stdin) != '\n') {
sbin/fsck_lfs/utilities.c
107
c = getc(stdin);
sbin/fsck_lfs/utilities.c
108
while (c != '\n' && getc(stdin) != '\n')
sbin/restore/utilities.c
378
c = getc(terminal);
sbin/restore/utilities.c
379
while (c != '\n' && getc(terminal) != '\n')
sys/arch/alpha/alpha/promcons.c
221
promcnputc(tp->t_dev, getc(&tp->t_outq));
sys/arch/emips/ebus/dz_ebus.c
582
ch = getc(cl);
sys/arch/ews4800mips/stand/common/cons_zs.c
58
cons.getc = zs_cngetc;
sys/arch/ews4800mips/stand/common/cons_zskbd.c
133
cons.getc = zskbd_getc;
sys/arch/ews4800mips/stand/common/console.c
119
cons.getc = ROM_GETC;
sys/arch/ews4800mips/stand/common/console.c
228
return cons.getc();
sys/arch/ews4800mips/stand/common/console.h
71
int (*getc)(void);
sys/arch/hp300/dev/dnkbd.c
233
.getc = dnkbd_cngetc,
sys/arch/hppa/dev/pdc.c
412
pdccnputc(tp->t_dev, getc(&tp->t_outq));
sys/arch/luna68k/dev/lunaws.c
164
.getc = ws_cngetc,
sys/arch/sgimips/dev/scn.c
1828
if ((c = getc(&tp->t_outq)) == -1)
sys/arch/sgimips/stand/undist/util.c
437
if ((getc(input) & 0xff) != magic_header[0] ||
sys/arch/sgimips/stand/undist/util.c
438
(getc(input) & 0xff) != magic_header[1])
sys/arch/sgimips/stand/undist/util.c
442
maxbits = getc(input);
sys/arch/vax/uba/qvaux.c
488
ch = getc(cl);
sys/arch/vax/vax/gencons.c
211
ch = getc(cl);
sys/dev/dec/dz.c
346
ch = getc(cl);
sys/dev/hil/hilkbd.c
92
.getc = hilkbd_cngetc,
sys/dev/hyperv/hvkbd.c
172
.getc = hvkbd_cngetc,
sys/dev/i2c/ikbd.c
56
.getc = ikbd_cngetc,
sys/dev/ic/cy.c
1261
ch = getc(&tp->t_outq);
sys/dev/pckbport/pckbd.c
148
.getc = pckbd_cngetc,
sys/dev/qbus/dl.c
479
DL_WRITE_BYTE(DL_UBA_XBUFL, getc(&tp->t_outq));
sys/dev/qbus/qd.c
1789
c = getc(&tp->t_outq);
sys/dev/usb/ukbd.c
341
.getc = ukbd_cngetc,
sys/dev/wscons/wskbd.c
1419
(*wskbd_console_data.t_consops->getc)
sys/dev/wscons/wskbdvar.h
60
void (*getc)(void *, u_int *, int *);
sys/kern/tty.c
1952
while ((c = getc(&tq)) >= 0)
sys/kern/tty.c
2122
while ((c = getc(qp)) >= 0) {
sys/kern/tty_pty.c
467
c = getc(&tp->t_canq);
sys/kern/tty_pty.c
474
(void) getc(&tp->t_canq);
sys/kern/tty_subr.c
496
while ((c = getc(from)) != -1)
sys/net/ppp_tty.c
338
getc(&tp->t_canq);
sys/sys/tty.h
268
int getc(struct clist *);
tools/compat/fgetln.c
54
while ((c = getc(fp)) != EOF) {
tools/m4/bootstrap/tokenizer.c
617
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
usr.bin/at/at.c
560
while((ch = getc(fp)) != EOF)
usr.bin/base64/base64.c
138
while ((c = getc(fin)) != EOF) {
usr.bin/base64/base64.c
185
while ((c = getc(fin)) != EOF) {
usr.bin/base64/base64.c
194
while ((c = getc(fin)) != EOF) {
usr.bin/base64/base64.c
54
for (res = 0; res < 3 && (c = getc(fin)) != EOF; res++)
usr.bin/cmp/special.c
64
ch1 = getc(fp1);
usr.bin/cmp/special.c
71
ch2 = getc(fp2);
usr.bin/cmp/special.c
79
ch1 = getc(fp1);
usr.bin/cmp/special.c
80
ch2 = getc(fp2);
usr.bin/colcrt/colcrt.c
116
c = getc(stdin);
usr.bin/colcrt/colcrt.c
133
c = getc(stdin);
usr.bin/comm/comm.c
200
while ((c = getc(fp)) != '\n' && c != EOF) {
usr.bin/ctags/C.c
153
do c = getc(inf);
usr.bin/ctags/ctags.h
48
#define GETC(op,exp) ((c = getc(inf)) op (int)exp)
usr.bin/cut/x_cut.c
48
# define CUT_GETC getc
usr.bin/dc/inout.c
78
return src->lastchar = getc(src->u.stream);
usr.bin/deroff/deroff.c
370
while ((c = getc(infile)) != rdelim) {
usr.bin/deroff/deroff.c
374
while ((c = getc(infile)) != '"') {
usr.bin/deroff/deroff.c
376
(c == '\\' && (c = getc(infile)) == EOF))
usr.bin/deroff/deroff.c
95
#define Cget ( (c=getc(infile)) == EOF ? eof() : ((c==ldelim)&&(filesp==files) ? skeqn() : c) )
usr.bin/deroff/deroff.c
96
#define C1get ( (c=getc(infile)) == EOF ? eof() : c)
usr.bin/diff/diffreg.c
1130
printf("%c", getc(f1));
usr.bin/diff/diffreg.c
1208
printf("%c", getc(lb));
usr.bin/diff/diffreg.c
1242
c = getc(lb);
usr.bin/diff/diffreg.c
1244
if ((c = getc(lb)) == '\n')
usr.bin/diff/diffreg.c
1317
switch (t = getc(f)) {
usr.bin/diff/diffreg.c
1324
t = getc(f);
usr.bin/diff/diffreg.c
709
c = getc(f1);
usr.bin/diff/diffreg.c
710
d = getc(f2);
usr.bin/diff/diffreg.c
728
if ((c = getc(f1)) == '\n') {
usr.bin/diff/diffreg.c
735
if ((d = getc(f2)) == '\n') {
usr.bin/diff/diffreg.c
749
} while (isspace(c = getc(f1)));
usr.bin/diff/diffreg.c
754
} while (isspace(d = getc(f2)));
usr.bin/diff/diffreg.c
757
c = getc(f1);
usr.bin/diff/diffreg.c
761
d = getc(f2);
usr.bin/diff/diffreg.c
781
if ((c = getc(f1)) != (d = getc(f2))) {
usr.bin/diff/diffreg.c
858
for (i = 1; (c = getc(f)) != '\n' && c != EOF; i++)
usr.bin/diff/diffreg.c
933
if ((c = getc(f1)) == EOF)
usr.bin/diff3/diff3.c
503
c = getc(fp[0]);
usr.bin/diff3/diff3.c
504
d = getc(fp[1]);
usr.bin/finger/lprint.c
368
while ((ch = getc(fp)) != EOF)
usr.bin/finger/net.c
136
while ((c = getc(fp)) != EOF) {
usr.bin/fsplit/fsplit.c
278
*ptr = getc(ifp);
usr.bin/fsplit/fsplit.c
286
while (getc(ifp) != '\n' && feof(ifp) == 0) {
usr.bin/ftp/ruserpass.c
188
while ((c = getc(cfile)) != EOF)
usr.bin/ftp/ruserpass.c
204
for (i = 0; i < 8 && (c = getc(cfile)) != EOF &&
usr.bin/ftp/ruserpass.c
216
while ((c = getc(cfile)) != EOF && c != '\n');
usr.bin/ftp/ruserpass.c
233
if ((c = getc(cfile)) == EOF) {
usr.bin/ftp/ruserpass.c
284
while ((c = getc(cfile)) != EOF &&
usr.bin/ftp/ruserpass.c
291
while ((c = getc(cfile)) != EOF && c != '"') {
usr.bin/ftp/ruserpass.c
293
if ((c = getc(cfile)) == EOF)
usr.bin/ftp/ruserpass.c
303
while ((c = getc(cfile)) != EOF
usr.bin/ftp/ruserpass.c
306
if ((c = getc(cfile)) == EOF)
usr.bin/ftp/util.c
1490
while ((res = getc(fin)) == EOF) {
usr.bin/gzip/unlz.c
168
rd->code = (rd->code << 8) | (uint8_t)getc(rd->fp);
usr.bin/gzip/unlz.c
186
rd->code = (rd->code << 8) | (uint8_t)getc(rd->fp);
usr.bin/gzip/unlz.c
213
rd->code = (rd->code << 8) | (uint8_t)getc(rd->fp);
usr.bin/gzip/unlz.c
607
trailer[i] = (uint8_t)getc(lz.fin);
usr.bin/head/head.c
169
while ((ch = getc(fp)) != EOF) {
usr.bin/indent/args.c
274
while ((ch = getc(f)) != EOF) {
usr.bin/indent/io.c
69
int ch = getc(in.f);
usr.bin/locate/locate/locate.c
195
p[c] = getc(fp), s[c] = getc(fp);
usr.bin/locate/locate/locate.c
202
for (c = getc(fp), count = 0; c != EOF;) {
usr.bin/locate/locate/locate.c
205
for (p = path + count; (c = getc(fp)) > SWITCH;) {
usr.bin/m4/eval.c
763
while ((c = getc(pf)) != EOF)
usr.bin/m4/gnum4.c
708
while ((c = getc(f))!= EOF)
usr.bin/m4/misc.c
238
while ((c = getc(outfile[n])) != EOF)
usr.bin/mail/collect.c
106
while ((c = getc(fp)) != EOF) {
usr.bin/mail/collect.c
294
while ((c = getc(fp)) != EOF)
usr.bin/mail/collect.c
728
while ((t = getc(collf)) != EOF)
usr.bin/mail/edit.c
199
while ((c = getc(fp)) != EOF) {
usr.bin/mail/edit.c
87
while (--size >= 0 && (t = getc(fp)) != EOF)
usr.bin/mail/edit.c
90
while ((t = getc(fp)) != EOF)
usr.bin/mail/mime_codecs.c
645
while ((c = getc(fi)) != EOF)
usr.bin/mail/mime_decode.c
1104
(void)ungetc(c = getc(f), f);
usr.bin/mail/names.c
313
while ((c = getc(fo)) != EOF)
usr.bin/mail/names.c
377
while ((c = getc(fin)) != EOF)
usr.bin/mail/quit.c
109
while ((c = getc(res)) != EOF)
usr.bin/mail/quit.c
194
while ((c = getc(ibuf)) != EOF)
usr.bin/mail/quit.c
236
while ((c = getc(ibuf)) != EOF)
usr.bin/mail/quit.c
334
while ((c = getc(fbuf)) != EOF)
usr.bin/mail/quit.c
339
c = getc(fbuf);
usr.bin/mail/quit.c
451
while ((c = getc(abuf)) != EOF)
usr.bin/mail/quit.c
503
c = getc(ibuf);
usr.bin/mail/quit.c
508
c = getc(ibuf);
usr.bin/mail/quit.c
550
while ((c = getc(rbuf)) != EOF)
usr.bin/mail/quit.c
88
while ((c = getc(res)) != EOF)
usr.bin/mail/send.c
325
if ((c = getc(ibuf)) != EOF && putc(c, obuf) == EOF)
usr.bin/mail/send.c
510
c = getc(fi);
usr.bin/mail/send.c
513
c = getc(fi);
usr.bin/mail/support.c
234
(void)ungetc(c = getc(f), f);
usr.bin/mail/tty.c
130
c = getc(stdin);
usr.bin/pr/pr.c
1042
while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) {
usr.bin/pr/pr.c
1074
while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) {
usr.bin/pr/pr.c
1104
while ((ch = getc(inf)) != EOF) {
usr.bin/pr/pr.c
1277
while ((c = getc(inf)) != EOF) {
usr.bin/pr/pr.c
1465
while ((c = getc(ttyinf)) != '\n' && c != EOF)
usr.bin/qsubst/qsubst.c
273
putchar(getc(workf));
usr.bin/qsubst/qsubst.c
281
c = getc(workf);
usr.bin/qsubst/qsubst.c
402
c = getc(workf);
usr.bin/qsubst/qsubst.c
411
putc(getc(tempf), workf);
usr.bin/rdist/gram.y
213
switch (c = getc(fin)) {
usr.bin/rdist/gram.y
218
while ((c = getc(fin)) != EOF && c != '\n')
usr.bin/rdist/gram.y
243
if ((c = getc(fin)) == '>')
usr.bin/rdist/gram.y
257
c = getc(fin);
usr.bin/rdist/gram.y
261
if ((c = getc(fin)) == EOF) {
usr.bin/rdist/gram.y
279
if ((c = getc(fin)) == ':')
usr.bin/rdist/gram.y
292
if ((c = getc(fin)) != EOF) {
usr.bin/rdist/gram.y
301
c = getc(fin);
usr.bin/rdist/server.c
947
while ((c = getc(f1)) == getc(f2))
usr.bin/resize/resize.c
289
if ((c = getc(fp)) == 0233) { /* meta-escape, CSI */
usr.bin/resize/resize.c
301
while ((*buf++ = (char) getc(fp)) != last) {
usr.bin/sed/main.c
365
if (infile != NULL && (c = getc(infile)) != EOF) {
usr.bin/sed/main.c
533
if ((ch = getc(file_fd)) != EOF) {
usr.bin/sed/main.c
559
if ((ch = getc(infile)) == EOF) {
usr.bin/soelim/soelim.c
187
c = getc(soee);
usr.bin/soelim/soelim.c
192
c = getc(soee);
usr.bin/soelim/soelim.c
197
c = getc(soee);
usr.bin/soelim/soelim.c
203
c = getc(soee);
usr.bin/soelim/soelim.c
218
c = getc(soee);
usr.bin/soelim/soelim.c
238
c = getc(soee);
usr.bin/sort/files.c
113
c = getc(fp);
usr.bin/sort/files.c
192
while ((c = getc(fp)) != EOF) {
usr.bin/tail/forward.c
107
if ((ch = getc(fp)) == EOF) {
usr.bin/tail/forward.c
119
if ((ch = getc(fp)) == EOF) {
usr.bin/tail/forward.c
138
while (getc(fp) != EOF);
usr.bin/tail/forward.c
160
while (getc(fp) != EOF);
usr.bin/tail/forward.c
182
while ((ch = getc(fp)) != EOF) {
usr.bin/tail/read.c
155
while ((ch = getc(fp)) != EOF) {
usr.bin/tail/read.c
76
for (wrap = 0, ep = p + off; (ch = getc(fp)) != EOF;) {
usr.bin/tail/reverse.c
212
len < BSZ && (ch = getc(fp)) != EOF; ++len)
usr.bin/tftp/tftpsubs.c
167
c = getc(file);
usr.bin/tip/cmds.c
319
c = getc(fd);
usr.bin/tsort/tsort.c
164
for (n = 0, c = getc(fp);;) {
usr.bin/tsort/tsort.c
166
c = getc(fp);
usr.bin/tsort/tsort.c
177
c = getc(fp);
usr.bin/ul/ul.c
153
while ((c = getc(f)) != EOF) switch(c) {
usr.bin/ul/ul.c
181
switch (c = getc(f)) {
usr.bin/unvis/unvis.c
114
while ((c = getc(fp)) != EOF) {
usr.bin/usbhidaction/usbhidaction.c
230
c = getc(f);
usr.bin/vis/vis.c
194
c = (wint_t)getc(fp);
usr.bin/vis/vis.c
205
rachar = (wint_t)getc(fp);
usr.sbin/inetd/parse.c
831
c = getc(fconfig);
usr.sbin/lpr/common_source/common.c
213
while ((c = getc(cfp)) != '\n' && linel+1<sizeof(line)) {
usr.sbin/lpr/common_source/displayq.c
154
while ((i = getc(fp)) != EOF && i != '\n') {
usr.sbin/lpr/common_source/displayq.c
173
while ((i = getc(fp)) != EOF && i != '\n') {
usr.sbin/lpr/filters/lpf.c
130
switch (ch = getc(p)) {
usr.sbin/lpr/lpd/printjob.c
1177
while ((i = getc(fp)) != EOF)
usr.sbin/mtree/getid.c
234
while ((ch = getc(_gr_fp)) != '\n' && ch != EOF)
usr.sbin/mtree/getid.c
382
while ((ch = getc(_pw_fp)) != '\n' && ch != EOF)
usr.sbin/ypbind/ypbind.c
1118
while ((c = getc(dom->dom_serversfile)) != '\n' && c != EOF)