Symbol: EOF
bin/cat/cat.c
176
for (prev = '\n'; (ch = getc(fp)) != EOF; prev = ch) {
bin/cat/cat.c
200
if (putchar('$') == EOF)
bin/cat/cat.c
204
if (putchar('^') == EOF || putchar('I') == EOF)
bin/cat/cat.c
210
if (putchar('M') == EOF || putchar('-') == EOF)
bin/cat/cat.c
215
if (putchar('^') == EOF ||
bin/cat/cat.c
217
ch | 0100) == EOF)
bin/cat/cat.c
222
if (putchar(ch) == EOF)
bin/cp/utils.c
141
while (ch != '\n' && ch != EOF)
bin/ed/cbc.c
183
return (des_ct > 0) ? (unsigned char) des_buf[des_n++] : EOF;
bin/ed/cbc.c
185
return EOF;
bin/ed/cbc.c
199
return (des_ct >= 0) ? (unsigned char) (des_buf[des_n++] = c) : EOF;
bin/ed/cbc.c
201
return EOF;
bin/ed/cbc.c
215
return (des_ct >= 0 && cbc_encode(des_buf, des_n, fp) >= 0) ? 0 : EOF;
bin/ed/cbc.c
217
return EOF;
bin/ed/cbc.c
444
if ((c = fgetc(fp)) == EOF) {
bin/ed/cbc.c
448
return EOF;
bin/ed/cbc.c
458
return EOF;
bin/ed/io.c
128
while (((c = des ? get_des_char(fp) : getc(fp)) != EOF || (!feof(fp) &&
bin/ed/io.c
280
case EOF:
bin/ed/main.c
1064
return l ? EOF : 0;
bin/ed/main.c
239
case EOF:
bin/ed/main.c
378
return EOF;
bin/ed/main.c
673
gflag = (modified && !scripted && c == 'q') ? EMOD : EOF;
bin/ed/main.c
806
gflag = EOF;
bin/ksh/c_ksh.c
1003
while ((optc = ksh_getopt(wp, &builtin_opt, "adt")) != EOF)
bin/ksh/c_ksh.c
1078
while ((optc = ksh_getopt(wp, &builtin_opt, "lpnzZ")) != EOF)
bin/ksh/c_ksh.c
1196
while ((optc = ksh_getopt(wp, &builtin_opt, "ls:")) != EOF)
bin/ksh/c_ksh.c
1407
while ((optc = ksh_getopt(wp, &builtin_opt, "lm")) != EOF)
bin/ksh/c_ksh.c
180
while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != EOF)
bin/ksh/c_ksh.c
269
while ((optc = ksh_getopt(wp, &builtin_opt, options)) != EOF)
bin/ksh/c_ksh.c
34
while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != EOF)
bin/ksh/c_ksh.c
439
while ((optc = ksh_getopt(wp, &builtin_opt, options)) != EOF)
bin/ksh/c_ksh.c
602
while ((optc = ksh_getopt(wp, &builtin_opt, options)) != EOF) {
bin/ksh/c_ksh.c
868
while ((optc = ksh_getopt(wp, &builtin_opt, "dprtUx")) != EOF) {
bin/ksh/c_sh.c
262
while ((optc = ksh_getopt(wp, &builtin_opt, "prsu,")) != EOF)
bin/ksh/c_sh.c
330
if (c == '\n' || c == EOF)
bin/ksh/c_sh.c
337
if (c == EOF && shf_error(shf)
bin/ksh/c_sh.c
370
} else if (c != EOF)
bin/ksh/c_sh.c
378
if (c == '\n' || c == EOF)
bin/ksh/c_sh.c
421
if (c == EOF && !ecode)
bin/ksh/c_sh.c
425
return ecode ? ecode : c == EOF;
bin/ksh/c_sh.c
676
while ((optc = ksh_getopt(wp, &builtin_opt, "fv")) != EOF)
bin/ksh/c_sh.c
72
while ((optc = ksh_getopt(wp, &builtin_opt, "S")) != EOF)
bin/ksh/c_sh.c
791
while ((optc = ksh_getopt(wp, &opt, ":p")) != EOF)
bin/ksh/c_ulimit.c
148
while ((optc = ksh_getopt(wp, &builtin_opt, options)) != EOF)
bin/ksh/eval.c
533
if (newlines && c != EOF) {
bin/ksh/eval.c
539
if (c == EOF) {
bin/ksh/exec.c
1309
if (shf_close(shf) == EOF) {
bin/ksh/exec.c
516
if (optc != EOF)
bin/ksh/history.c
244
if (shf_close(shf) == EOF) {
bin/ksh/history.c
95
while ((optc = ksh_getopt(wp, &builtin_opt, "e:glnrs0,1,2,3,4,5,6,7,8,9,")) != EOF)
bin/ksh/misc.c
391
while ((optc = ksh_getopt(argv, &go, opts)) != EOF) {
bin/ksh/misc.c
991
return EOF;
bin/ksh/misc.c
999
return EOF;
bin/ksh/shf.c
1274
return shf_error(shf) ? EOF : nwritten;
bin/ksh/shf.c
228
ret = EOF;
bin/ksh/shf.c
248
ret = EOF;
bin/ksh/shf.c
303
return (shf->flags & SHF_WR) ? EOF : 0;
bin/ksh/shf.c
310
return EOF;
bin/ksh/shf.c
342
return EOF;
bin/ksh/shf.c
359
return EOF;
bin/ksh/shf.c
391
return EOF;
bin/ksh/shf.c
425
return EOF;
bin/ksh/shf.c
428
if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == EOF)
bin/ksh/shf.c
429
return EOF;
bin/ksh/shf.c
448
return EOF;
bin/ksh/shf.c
467
return EOF;
bin/ksh/shf.c
472
return EOF;
bin/ksh/shf.c
475
if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == EOF)
bin/ksh/shf.c
476
return EOF;
bin/ksh/shf.c
496
return EOF;
bin/ksh/shf.c
524
&& (shf_fillbuf(shf) == EOF || shf->rnleft == 0))
bin/ksh/shf.c
536
return orig_bsize == bsize ? (shf_error(shf) ? EOF : 0)
bin/ksh/shf.c
563
if (shf_fillbuf(shf) == EOF)
bin/ksh/shf.c
594
if (shf->rnleft == 0 && (shf_fillbuf(shf) == EOF || shf->rnleft == 0))
bin/ksh/shf.c
595
return EOF;
bin/ksh/shf.c
611
if ((shf->flags & SHF_ERROR) || c == EOF
bin/ksh/shf.c
613
return EOF;
bin/ksh/shf.c
615
if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == EOF)
bin/ksh/shf.c
616
return EOF;
bin/ksh/shf.c
625
return EOF;
bin/ksh/shf.c
648
if (c == EOF)
bin/ksh/shf.c
649
return EOF;
bin/ksh/shf.c
659
return EOF;
bin/ksh/shf.c
668
return EOF;
bin/ksh/shf.c
672
if (shf->wnleft == 0 && shf_emptybuf(shf, EB_GROW) == EOF)
bin/ksh/shf.c
673
return EOF;
bin/ksh/shf.c
690
return EOF;
bin/ksh/shf.c
726
if (shf_emptybuf(shf, EB_GROW) == EOF)
bin/ksh/shf.c
727
return EOF;
bin/ksh/shf.c
744
return EOF;
bin/ln/ln.c
327
while(ch != '\n' && ch != EOF)
bin/mv/mv.c
208
if ((ch = getchar()) != EOF && ch != '\n') {
bin/mv/mv.c
210
while ((ch2 = getchar()) != EOF && ch2 != '\n')
bin/pax/ftree.c
345
int i, c = EOF;
bin/pax/ftree.c
352
if (c == EOF)
bin/rm/rm.c
554
while (ch != '\n' && ch != EOF)
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
5069
if (c == EOF)
dist/pf/sbin/pfctl/parse.y
5070
return (EOF);
dist/pf/sbin/pfctl/parse.y
5079
return (EOF);
dist/pf/sbin/pfctl/parse.y
5097
if (c == EOF)
dist/pf/sbin/pfctl/parse.y
5118
while ((c = lgetc(fin)) != '\n' && c != EOF)
dist/pf/sbin/pfctl/parse.y
5122
if ((c = lgetc(fin)) == EOF)
dist/pf/sbin/pfctl/parse.y
5152
if ((c = lgetc(fin)) == EOF)
dist/pf/sbin/pfctl/parse.y
5209
} while ((c = lgetc(fin)) != EOF && (allowed_in_string(c)));
dist/pf/sbin/pfctl/parse.y
5221
if (c == EOF)
dist/pf/usr.sbin/authpf/authpf.c
428
} while (fputs(buf, stdout) != EOF && !feof(f));
dist/pf/usr.sbin/authpf/authpf.c
561
while (fputs(tmp, stdout) != EOF && !feof(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/hdr.h
65
#define FLUSHLINE do { int flushline_ch; while ((flushline_ch = getchar()) != EOF && flushline_ch != '\n'); } while (0)
games/adventure/io.c
126
else if (ch == EOF) {
games/adventure/io.c
154
else if (ch == EOF) {
games/adventure/io.c
99
case EOF:
games/adventure/save.c
215
if (ch == EOF || ferror(sf->f)) {
games/adventure/setup.c
103
while ((c = getc(infile)) == ' ' && c != EOF);
games/adventure/setup.c
99
while ((c = getc(infile)) != EOF) {
games/adventure/wizard.c
141
if (ch == '\n' || ch == EOF)
games/arithmetic/arithmetic.c
149
if (problem() == EOF)
games/arithmetic/arithmetic.c
242
return(EOF);
games/atc/graphics.c
82
while ((c = getchar()) == EOF && errno == EINTR) {
games/atc/main.c
342
if (c == EOF || c == 'y') {
games/atc/update.c
254
while ((c = getAChar()) != EOF && c != ' ')
games/battlestar/fly.c
171
case EOF:
games/battlestar/getcom.c
64
while ((i = getchar()) != '\n' && i != 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/mach.c
231
ch = EOF;
games/boggle/boggle/mach.c
259
if (ch == EOF)
games/boggle/boggle/word.c
88
if ((pcount = getc(fp)) == EOF)
games/boggle/boggle/word.c
91
} else if ((pcount = lastch) == 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/mkdict/mkdict.c
80
if (ch == EOF)
games/boggle/mkindex/mkindex.c
107
if ((pcount = getc(fp)) == EOF)
games/boggle/mkindex/mkindex.c
111
else if ((pcount = lastch) == EOF)
games/boggle/mkindex/mkindex.c
116
while ((ch = getc(fp)) != EOF && ch >= 'a')
games/caesar/caesar.c
105
if (putchar(rottbl[a[i]]) == EOF)
games/caesar/caesar.c
144
if ((ch = getchar()) == EOF)
games/caesar/caesar.c
95
while ((ch = getchar()) != EOF)
games/caesar/caesar.c
96
if (putchar(rottbl[ch]) == EOF)
games/cgram/cgram.c
218
while ((ch = fgetc(f)) != EOF) {
games/ching/castching/castching.c
100
while ((c = getchar()) != EOF)
games/fish/fish.c
445
if (c == EOF) {
games/fish/fish.c
475
while ((input = getchar()) != EOF && input != '\n');
games/gomoku/bdisp.c
290
while ((c = getchar()) != EOF && c != '\n' && c != '\r') {
games/gomoku/bdisp.c
328
return c != EOF;
games/gomoku/main.c
408
while ((c = getc(fp)) != EOF && c != '\n' && pos < sizeof(buf) - 1)
games/gomoku/main.c
411
return c == EOF ? END_OF_INPUT : ctos(buf);
games/hack/hack.main.c
506
if (c == EOF)
games/hack/hack.tty.c
231
if ((c = getchar()) == EOF) {
games/hack/hack.tty.c
355
if ((sym = getchar()) == EOF)
games/hack/hack.tty.c
366
if ((sym = getchar()) != EOF)
games/hunt/hunt/hunt.c
416
if (c == EOF) {
games/hunt/hunt/hunt.c
797
while (i != '\n' && i != EOF)
games/hunt/hunt/playit.c
108
while ((ch = GETCHR()) != EOF) {
games/hunt/hunt/playit.c
151
ch = EOF;
games/morse/morse.c
149
while ((ch = getchar()) != EOF) {
games/morse/morse.c
157
while ((ch = getchar()) != EOF &&
games/morse/morse.c
185
else while ((ch = getchar()) != EOF)
games/pig/pig.c
75
for (len = 0; (ch = getchar()) != EOF;) {
games/ppt/ppt.c
122
else while ((c = getchar()) != EOF)
games/random/random.c
123
while ((ch = getchar()) != EOF) {
games/robots/move.c
199
case EOF:
games/sail/pl_7.c
493
while ((c = wgetch(scroll_w)) == EOF)
games/sail/pl_7.c
522
while ((c = wgetch(scroll_w)) == EOF)
games/sail/sync.c
360
case EOF:
games/sail/sync.c
379
case EOF:
games/tetris/scores.c
895
if (c == EOF)
games/tetris/tetris.c
333
if (i == EOF)
games/trek/computer.c
297
if (i == EOF)
games/trek/getpar.c
226
if (c == EOF) {
games/trek/getpar.c
250
if (c == EOF) {
games/trek/getpar.c
269
if (c == EOF) {
games/trek/getpar.c
293
while ((c = getchar()) != EOF) {
games/warp/init.c
254
if (fscanf(mapfp,"%d %d\n",&ypred,&xpred) == EOF)
games/warp/init.c
259
if (fscanf(mapfp,"%d %d\n",&ypred,&xpred) == EOF)
lib/libc/citrus/citrus_ctype_fallback.c
100
*cresult = EOF;
lib/libc/citrus/citrus_ctype_fallback.c
108
*cresult = EOF;
lib/libc/citrus/citrus_ctype_fallback.c
68
if (c == EOF) {
lib/libc/citrus/citrus_ctype_template.h
896
if (c == EOF) {
lib/libc/citrus/citrus_ctype_template.h
927
*cresult = EOF;
lib/libc/citrus/citrus_ctype_template.h
937
*cresult = EOF;
lib/libc/citrus/citrus_memstream.c
148
while ((ch = _memstream_peek(ms)) != EOF) {
lib/libc/citrus/citrus_memstream.h
124
return (EOF);
lib/libc/citrus/citrus_memstream.h
131
if (ch != EOF && ms->ms_pos > 0)
lib/libc/citrus/citrus_memstream.h
139
return (EOF);
lib/libc/citrus/citrus_none.c
405
if (c == EOF || c & ~0xFF)
lib/libc/citrus/citrus_none.c
418
*cresult = EOF;
lib/libc/citrus/citrus_prop.c
269
case EOF:
lib/libc/citrus/citrus_prop.c
273
quot = EOF;
lib/libc/citrus/citrus_prop.c
280
quot = EOF;
lib/libc/citrus/citrus_prop.c
293
if (quot == ch || (quot == EOF &&
lib/libc/citrus/citrus_prop.c
459
if (ch == EOF || ch == '\0')
lib/libc/citrus/modules/citrus_mapper_zone.c
142
return EOF;
lib/libc/citrus/modules/citrus_mapper_zone.c
291
if (ret != EOF)
lib/libc/db/recno/rec_get.c
142
if ((ch = getc(t->bt_rfp)) == EOF || !--len) {
lib/libc/db/recno/rec_get.c
143
if (ch != EOF)
lib/libc/db/recno/rec_get.c
153
if (ch == EOF)
lib/libc/db/recno/rec_get.c
186
if ((ch = getc(t->bt_rfp)) == EOF || ch == bval) {
lib/libc/db/recno/rec_get.c
189
if (ch == EOF && data.size == 0)
lib/libc/db/recno/rec_get.c
207
if (ch == EOF)
lib/libc/gen/ctype_.c
55
#if EOF != -1
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/getttyent.c
266
rval = !(fclose(tf) == EOF);
lib/libc/gen/isctype.c
47
#if EOF != -1
lib/libc/gen/isctype.c
73
if (__predict_false(((c) != EOF && (c) < 0) || (c) > UCHAR_MAX)) \
lib/libc/gen/tolower_.c
21
#if EOF != -1
lib/libc/gen/tolower_.c
28
_CTYPE_GUARD_INIT(_C_TOLOWER_TAB_GUARD, EOF)
lib/libc/gen/tolower_.c
29
[_C_TOLOWER_TAB_GUARD] = EOF,
lib/libc/gen/toupper_.c
21
#if EOF != -1
lib/libc/gen/toupper_.c
28
_CTYPE_GUARD_INIT(_C_TOUPPER_TAB_GUARD, EOF)
lib/libc/gen/toupper_.c
29
[_C_TOUPPER_TAB_GUARD] = 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/gen/wordexp.c
177
if (i == EOF) {
lib/libc/locale/rune.c
158
rlp->rlp_tolower_tab[0] = EOF;
lib/libc/locale/rune.c
159
rlp->rlp_toupper_tab[0] = EOF;
lib/libc/locale/rune.c
386
map, &c) || c == EOF)) \
lib/libc/net/rcmd.c
791
while ((ch = getc(hostf)) != '\n' && ch != EOF)
lib/libc/stdio/fclose.c
60
return EOF;
lib/libc/stdio/fclose.c
66
r = EOF;
lib/libc/stdio/fflush.c
114
return EOF;
lib/libc/stdio/fflush.c
72
r = EOF;
lib/libc/stdio/fpurge.c
64
return EOF;
lib/libc/stdio/fvwrite.c
235
return EOF;
lib/libc/stdio/fvwrite.c
76
return EOF;
lib/libc/stdio/fvwrite.c
83
return EOF;
lib/libc/stdio/gets.c
65
if (c == EOF) {
lib/libc/stdio/getw.c
55
return fread((void *)&x, sizeof(x), 1, fp) == 1 ? x : EOF;
lib/libc/stdio/puts.c
80
return r ? EOF : '\n';
lib/libc/stdio/refill.c
142
return EOF;
lib/libc/stdio/refill.c
84
return EOF;
lib/libc/stdio/refill.c
91
return EOF;
lib/libc/stdio/refill.c
96
return EOF;
lib/libc/stdio/rget.c
66
return EOF;
lib/libc/stdio/ungetc.c
111
return EOF;
lib/libc/stdio/ungetc.c
116
return EOF;
lib/libc/stdio/ungetc.c
133
return EOF;
lib/libc/stdio/ungetc.c
71
return EOF;
lib/libc/stdio/ungetc.c
83
return EOF;
lib/libc/stdio/ungetc.c
98
if (c == EOF)
lib/libc/stdio/ungetc.c
99
return EOF;
lib/libc/stdio/vdprintf.c
108
return fflush(&f) ? EOF : ret;
lib/libc/stdio/vdprintf.c
79
return EOF;
lib/libc/stdio/vdprintf.c
83
return EOF;
lib/libc/stdio/vdprintf.c
88
return EOF;
lib/libc/stdio/vfscanf.c
358
return EOF;
lib/libc/stdio/vfscanf.c
502
if (wctob_l(*wcp, loc) != EOF &&
lib/libc/stdio/vfscanf.c
846
return nconversions != 0 ? nassigned : EOF;
lib/libc/stdio/vfwprintf.c
222
return __sfvwrite(fp, &uio) != EOF ? (wint_t)wc : END_OF_FILE;
lib/libc/stdio/vfwprintf.c
90
#define END_OF_FILE EOF
lib/libc/stdio/vfwscanf.c
364
return EOF;
lib/libc/stdio/vfwscanf.c
756
return nconversions != 0 ? nassigned : EOF;
lib/libc/stdio/vswscanf.c
92
return EOF;
lib/libc/stdio/vswscanf.c
97
return EOF;
lib/libc/stdio/wbuf.c
74
return EOF;
lib/libc/stdio/wbuf.c
91
return EOF;
lib/libc/stdio/wbuf.c
98
return EOF;
lib/libc/stdio/wsetup.c
71
return EOF;
lib/libc/time/zic.c
1868
for (; (c = getc(fp)) != EOF; check_for_signal())
lib/libcompat/4.3/ruserpass.c
192
while ((c=getc(cfile)) != EOF)
lib/libcompat/4.3/ruserpass.c
195
if (c == EOF || c == '\n') {
lib/libcompat/4.3/ruserpass.c
206
for (i=0; i < 8 && (c=getc(cfile)) != EOF &&
lib/libcompat/4.3/ruserpass.c
210
if (c == EOF) {
lib/libcompat/4.3/ruserpass.c
217
while ((c=getc(cfile)) != EOF && c != '\n');
lib/libcompat/4.3/ruserpass.c
219
if (c == EOF) {
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
279
if (c == EOF)
lib/libcompat/4.3/ruserpass.c
283
while ((c = getc(cfile)) != EOF && c != '"') {
lib/libcompat/4.3/ruserpass.c
290
while ((c = getc(cfile)) != EOF
lib/libcurses/EXAMPLES/view.c
197
while ((i = getopt(argc, argv, "cin:rtT:")) != EOF) {
lib/libcurses/getch.c
1004
if (c != EOF)
lib/libcurses/refresh.c
836
return fflush(_cursesi_screen->outfd) == EOF ? ERR : OK;
lib/libedit/eln.c
51
if (num_read == EOF) {
lib/libedit/history.c
846
if (ftell(fp) == 0 && fputs(hist_cookie, fp) == EOF)
lib/libintl/plural_parser.c
51
#define T_EOF EOF
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)
lib/libskey/skeylogin.c
605
if (fputc('#', mp->keyfile) == EOF) {
lib/libutil/passwd.c
296
if (c != EOF && c != '\n')
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
1437
while (c != '\n' && (c = getc(iop)) != EOF)
libexec/ftpd/ftpcmd.y
1444
if (c == EOF && cs == s)
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
2516
if (c == '\0' || c == EOF)
libexec/makewhatis/makewhatis.c
1165
if ((tree->wi_data[0] && fputs(tree->wi_prefix, out) == EOF) ||
libexec/makewhatis/makewhatis.c
1166
(fputs(tree->wi_data, out) == EOF) ||
libexec/makewhatis/makewhatis.c
1167
(fputc('\n', out) == EOF))
sbin/disklabel/main.c
1551
while (ch != '\n' && ch != EOF)
sbin/dmesg/dmesg.c
341
case EOF:
sbin/fdisk/fdisk.c
2834
while (ch != '\n' && ch != EOF)
sbin/fdisk/fdisk.c
2836
if (ch == EOF)
sbin/umbctl/umbctl.c
209
while((i = fgetc(fp)) != EOF && i != '\n');
share/man/tools/line.c
10
int EOF;
share/man/tools/line.c
18
EOF = 0;
share/man/tools/line.c
33
if (EOF == 1) exit(1);
share/man/tools/line.c
40
EOF = 1;
share/man/tools/pages.c
17
while((c=getchar()) != EOF) {
sys/arch/atari/stand/ahdilabel/ahdilabel.c
124
if (key == EOF)
sys/arch/atari/stand/tostools/libtos/cread.c
122
return (EOF);
sys/arch/atari/stand/tostools/libtos/cread.c
132
return EOF;
sys/arch/atari/stand/tostools/libtos/cread.c
150
if (c == EOF)
sys/arch/atari/stand/tostools/libtos/cread.c
169
if ((c == EOF) && (len == 0)) {
sys/arch/atari/stand/tostools/libtos/cread.c
180
if (c != EOF) {
sys/arch/atari/stand/tostools/libtos/cread.c
204
while (len-- != 0 && get_byte(s) != EOF) /*void*/;
sys/arch/atari/stand/tostools/libtos/cread.c
208
while ((c = get_byte(s)) != 0 && c != EOF) /*void*/;
sys/arch/atari/stand/tostools/libtos/cread.c
212
while ((c = get_byte(s)) != 0 && c != EOF) /*void*/;
sys/arch/evbarm/stand/gzboot/gzboot.c
263
return (EOF);
sys/arch/evbarm/stand/gzboot/gzboot.c
271
return (EOF);
sys/arch/evbarm/stand/gzboot/gzboot.c
289
if (c == EOF)
sys/arch/evbarm/stand/gzboot/gzboot.c
328
while (len-- && get_u8(s) != EOF)
sys/arch/evbarm/stand/gzboot/gzboot.c
333
while ((c = get_u8(s)) != 0 && c != EOF)
sys/arch/evbarm/stand/gzboot/gzboot.c
338
while ((c = get_u8(s)) != 0 && c != EOF)
sys/arch/hpc/stand/hpcboot/file_manager.cpp
275
return(EOF);
sys/arch/hpc/stand/hpcboot/file_manager.cpp
283
return EOF;
sys/arch/hpc/stand/hpcboot/file_manager.cpp
301
if (c == EOF)
sys/arch/hpc/stand/hpcboot/file_manager.cpp
321
if ((c == EOF) &&(len == 0)) {
sys/arch/hpc/stand/hpcboot/file_manager.cpp
332
if (c != EOF) {
sys/arch/hpc/stand/hpcboot/file_manager.cpp
356
while (len-- != 0 && _get_byte() != EOF) /*void*/;
sys/arch/hpc/stand/hpcboot/file_manager.cpp
360
while ((c = _get_byte()) != 0 && c != EOF) /*void*/;
sys/arch/hpc/stand/hpcboot/file_manager.cpp
364
while ((c = _get_byte()) != 0 && c != EOF) /*void*/;
sys/arch/prep/stand/installboot/installboot.c
230
while ((c = getopt(argc, argv, "vn")) != EOF) {
sys/arch/usermode/usermode/thunk.c
474
return EOF;
sys/arch/usermode/usermode/thunk.c
479
return EOF;
sys/lib/libsa/cread.c
152
return EOF;
sys/lib/libsa/cread.c
163
return EOF;
sys/lib/libsa/cread.c
182
if (c == EOF)
sys/lib/libsa/cread.c
201
if ((c == EOF) && (len == 0)) {
sys/lib/libsa/cread.c
212
if (c != EOF) {
sys/lib/libsa/cread.c
236
while (len-- != 0 && get_byte(s) != EOF)
sys/lib/libsa/cread.c
241
while ((c = get_byte(s)) != 0 && c != EOF)
sys/lib/libsa/cread.c
246
while ((c = get_byte(s)) != 0 && c != EOF)
tests/lib/libc/gen/h_ctype_abuse.c
115
__CTASSERT(CHAR_MIN == 0 || CHAR_MIN <= EOF);
tests/lib/libc/gen/h_ctype_abuse.c
116
__CTASSERT(EOF <= UCHAR_MAX);
tests/lib/libc/gen/h_ctype_abuse.c
118
for (ch = (CHAR_MIN == 0 ? EOF : CHAR_MIN); ch <= UCHAR_MAX; ch++) {
tests/lib/libc/gen/posix_spawn/fa_spawn_utils.c
61
REQUIRE_LIBC(fclose(f), EOF);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
63
REQUIRE_LIBC(fclose(f), EOF);
tests/lib/libc/gen/t_ctype.c
110
if (ch == EOF)
tests/lib/libc/gen/t_ctype.c
158
for (ch = EOF; ch <= CHAR_MAX; ch = (ch == EOF ? 0 : ch + 1)) {
tests/lib/libc/gen/t_ctype.c
183
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
192
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
201
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
210
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
219
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
228
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
237
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
246
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
255
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
264
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
273
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
282
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
292
ATF_CHECK_MSG((result = (*ctypefn)(EOF)) == EOF,
tests/lib/libc/gen/t_ctype.c
293
"result=%d, expected EOF=%d", result, EOF);
tests/lib/libc/gen/t_ctype.c
303
ATF_CHECK_MSG((result = (*ctypefn)(EOF)) == EOF,
tests/lib/libc/gen/t_ctype.c
304
"result=%d, expected EOF=%d", result, EOF);
tests/lib/libc/gen/t_ctype.c
312
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
355
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
398
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
441
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
468
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
501
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
554
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
577
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
636
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
657
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
678
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
697
ATF_CHECK(!(*ctypefn)(EOF));
tests/lib/libc/gen/t_ctype.c
716
ATF_CHECK_MSG((result = (*ctypefn)(EOF)) == EOF,
tests/lib/libc/gen/t_ctype.c
717
"result=%d, expected EOF=%d", result, EOF);
tests/lib/libc/gen/t_ctype.c
760
ATF_CHECK_MSG((result = (*ctypefn)(EOF)) == EOF,
tests/lib/libc/gen/t_ctype.c
761
"result=%d, expected EOF=%d", result, EOF);
tests/lib/libc/locale/t_btowc.c
111
ATF_REQUIRE_EQ(wctob(*wcp), EOF);
tests/lib/libc/locale/t_btowc.c
131
ATF_REQUIRE_EQ(btowc(EOF), WEOF);
tests/lib/libc/locale/t_btowc.c
134
ATF_REQUIRE_EQ(wctob(WEOF), EOF);
tests/lib/libc/locale/t_btowc.c
205
ATF_REQUIRE_EQ(btowc(EOF), WEOF);
tests/lib/libc/locale/t_btowc.c
208
ATF_REQUIRE_EQ(wctob(WEOF), EOF);
tests/lib/libc/stdio/h_intr.c
420
return EOF;
tests/lib/libc/stdio/h_intr.c
510
if (i == EOF)
tests/lib/libc/stdio/t_clearerr.c
62
ATF_REQUIRE(fclose(fp) != EOF);
tests/lib/libc/stdio/t_fflush.c
161
ATF_REQUIRE_ERRNO(EBADF, fpurge(f) == EOF);
tests/lib/libc/stdio/t_fflush.c
60
ATF_REQUIRE_ERRNO(EBADF, fflush(f) == EOF);
tests/lib/libc/stdio/t_fmemopen.c
1029
ATF_CHECK(fputc('\0', fp) == EOF);
tests/lib/libc/stdio/t_fmemopen.c
1078
ATF_CHECK(fputc(0x1, fp) == EOF);
tests/lib/libc/stdio/t_fmemopen.c
1089
ATF_CHECK(fputc('\0', fp) == EOF);
tests/lib/libc/stdio/t_fmemopen.c
771
ATF_CHECK(fgetc(fp) == EOF);
tests/lib/libc/stdio/t_fmemopen.c
847
ATF_CHECK(fgetc(fp) == EOF);
tests/lib/libc/stdio/t_fmemopen.c
857
ATF_CHECK(fgetc(fp) == EOF);
tests/lib/libc/stdio/t_fmemopen.c
966
ATF_CHECK(fputc(0x1, fp) == EOF);
tests/lib/libc/stdio/t_fmemopen.c
978
ATF_CHECK(fputc('\0', fp) == EOF);
tests/lib/libc/stdio/t_fputc.c
54
ATF_REQUIRE(func('x', f) == EOF);
tests/lib/libc/stdio/t_open_memstream.c
58
ATF_CHECK(fprintf(fp, hello) != EOF);
tests/lib/libc/stdio/t_open_memstream.c
59
ATF_CHECK(fflush(fp) != EOF);
tests/lib/libc/stdio/t_open_memstream.c
62
ATF_CHECK(fprintf(fp, start) != EOF);
tests/lib/libc/stdio/t_open_memstream.c
63
ATF_CHECK(fflush(fp) != EOF);
tests/lib/libc/stdio/t_open_memstream.c
75
ATF_CHECK(fflush(fp) != EOF);
tests/lib/libc/stdio/t_open_memstream.c
84
ATF_CHECK(fclose(fp) != EOF);
tests/lib/libc/stdio/t_popen.c
105
while ((in = fgetc(my_pipe)) != EOF)
tools/compat/fgetln.c
54
while ((c = getc(fp)) != EOF) {
tools/m4/bootstrap/tokenizer.c
1271
return EOF;
tools/m4/bootstrap/tokenizer.c
617
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
tools/m4/bootstrap/tokenizer.c
621
if ( c == EOF && ferror( yyin ) ) \
usr.bin/at/at.c
155
jobno = EOF;
usr.bin/at/at.c
163
return EOF;
usr.bin/at/at.c
232
if ((jobno = nextjob()) == EOF)
usr.bin/at/at.c
388
if ((ch = getchar()) == EOF)
usr.bin/at/at.c
393
} while ((ch = getchar()) != EOF);
usr.bin/at/at.c
560
while((ch = getc(fp)) != EOF)
usr.bin/base64/base64.c
122
if (fputc('\n', fout) == EOF)
usr.bin/base64/base64.c
138
while ((c = getc(fin)) != EOF) {
usr.bin/base64/base64.c
157
if (fputc(out, fout) == EOF)
usr.bin/base64/base64.c
163
if (fputc(out, fout) == EOF)
usr.bin/base64/base64.c
169
if (fputc(out, fout) == 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
199
if (c != EOF)
usr.bin/base64/base64.c
207
if (c != EOF || state != 0)
usr.bin/base64/base64.c
54
for (res = 0; res < 3 && (c = getc(fin)) != EOF; res++)
usr.bin/base64/base64.c
70
if (fputc(B64[out[i]], fout) == EOF)
usr.bin/base64/base64.c
73
if (fputc('\n', fout) == EOF)
usr.bin/base64/base64.c
79
if (fputc('=', fout) == EOF)
usr.bin/base64/base64.c
82
if (fputc('\n', fout) == EOF)
usr.bin/bdes/bdes.c
575
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
647
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
781
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
874
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
968
if ((c = getchar()) == EOF) {
usr.bin/bthset/bthset.c
162
while ((ch = getopt(ac, av, "hc:m:p:s:v")) != EOF) {
usr.bin/btkey/btkey.c
64
while ((ch = getopt(ac, av, "a:cCd:k:lLrRwW")) != EOF) {
usr.bin/chpass/pw_yp.c
234
if (c != EOF && c != '\n')
usr.bin/cmp/special.c
65
if (ch1 == EOF)
usr.bin/cmp/special.c
72
if (ch2 == EOF)
usr.bin/cmp/special.c
81
if (ch1 == EOF || ch2 == EOF)
usr.bin/colrm/colrm.c
118
putchar(ch) == EOF)
usr.bin/colrm/colrm.c
99
case EOF:
usr.bin/comm/comm.c
161
if (ferror (stdout) || fclose (stdout) == EOF)
usr.bin/comm/comm.c
200
while ((c = getc(fp)) != '\n' && c != EOF) {
usr.bin/comm/comm.c
207
if (c == EOF && !i)
usr.bin/compress/compress.c
430
while (ch != '\n' && ch != EOF)
usr.bin/compress/zopen.c
343
rval = fclose(fp) == EOF ? -1 : 0;
usr.bin/config/mkheaders.c
190
if (fclose(fp) == EOF)
usr.bin/config/mkheaders.c
284
if (fclose(fp) == EOF)
usr.bin/config/mkheaders.c
375
if (fclose(tfp) == EOF)
usr.bin/config/mkheaders.c
415
if (fclose(tfp) == EOF)
usr.bin/csplit/csplit.c
204
while ((p = get_line()) != NULL && fputs(p, ofp) != EOF)
usr.bin/csplit/csplit.c
406
if (fputs(p, ofp) == EOF)
usr.bin/csplit/csplit.c
432
if (fputs(p, ofp) == EOF)
usr.bin/csplit/csplit.c
468
if (fputs(p, ofp) == EOF)
usr.bin/ctags/C.c
154
while (c != EOF && iswhite(c));
usr.bin/ctags/C.c
157
if (c != EOF)
usr.bin/ctags/C.c
213
storec: if (c == EOF)
usr.bin/ctags/C.c
276
while (GETC(!=, EOF)) {
usr.bin/ctags/C.c
310
while (GETC(!=, EOF) && iswhite(c))
usr.bin/ctags/C.c
313
if (c == EOF)
usr.bin/ctags/C.c
369
do if (GETC(==, EOF))
usr.bin/ctags/C.c
374
if (GETC(==, EOF))
usr.bin/ctags/C.c
387
if (GETC(==, EOF))
usr.bin/ctags/C.c
395
if (GETC(==, EOF))
usr.bin/ctags/C.c
432
if (GETC(==, EOF))
usr.bin/ctags/C.c
438
if (GETC(==, EOF))
usr.bin/ctags/C.c
451
while (GETC(!=, EOF))
usr.bin/ctags/C.c
474
for (star = 0; GETC(!=, EOF);)
usr.bin/ctags/C.c
511
for (skip = NO; GETC(!=, EOF); )
usr.bin/ctags/C.c
537
for (skip = retval = NO; GETC(!=, EOF);)
usr.bin/ctags/C.c
74
while (GETC(!=, EOF)) {
usr.bin/ctags/ctags.c
295
if (GETC(==, EOF))
usr.bin/ctags/print.c
76
else for (cnt = 0, cp = lbuf; GETC(!=, EOF) && cnt < ENDLINE; ++cnt) {
usr.bin/ctags/yacc.c
105
while (GETC(!=, EOF) && (intoken(c) || c == '.'))
usr.bin/ctags/yacc.c
109
if (c == EOF)
usr.bin/ctags/yacc.c
114
if (GETC(==, EOF))
usr.bin/ctags/yacc.c
143
for (state = 0; GETC(!=, EOF);)
usr.bin/ctags/yacc.c
66
while (GETC(!=, EOF))
usr.bin/cut/x_cut.c
49
# define CUT_EOF EOF
usr.bin/cut/x_cut.c
72
if ((ch = CUT_GETC(fp)) == EOF)
usr.bin/dc/bcode.c
1615
case EOF:
usr.bin/dc/bcode.c
1681
if (ch == EOF) {
usr.bin/dc/bcode.c
1730
if (ch == EOF) {
usr.bin/dc/bcode.c
786
if (ch1 == EOF || ch2 == EOF) {
usr.bin/dc/inout.c
108
return EOF;
usr.bin/dc/inout.c
133
if (ch == EOF)
usr.bin/dc/inout.c
194
while ((ch = (*src->vtable->readchar)(src)) != EOF) {
usr.bin/dc/inout.c
247
while ((ch = (*src->vtable->readchar)(src)) != EOF) {
usr.bin/deroff/deroff.c
371
if (c == EOF)
usr.bin/deroff/deroff.c
375
if (c == EOF ||
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
1251
if (c == EOF) {
usr.bin/diff/diffreg.c
1348
case EOF:
usr.bin/diff/diffreg.c
716
if (c == EOF && d == '\n') {
usr.bin/diff/diffreg.c
719
} else if (c == '\n' && d == EOF) {
usr.bin/diff/diffreg.c
768
if (c != '\n' && c != EOF)
usr.bin/diff/diffreg.c
770
if (d != '\n' && c != EOF)
usr.bin/diff/diffreg.c
774
if (c == '\n' || c == EOF)
usr.bin/diff/diffreg.c
784
if (c != '\n' && c != EOF)
usr.bin/diff/diffreg.c
786
if (d != '\n' && c != EOF)
usr.bin/diff/diffreg.c
790
if (c == '\n' || c == EOF)
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/expand/expand.c
96
while ((c = getchar()) != EOF) {
usr.bin/fdformat/fdformat.c
86
case EOF:
usr.bin/find/misc.c
119
if (ch == EOF)
usr.bin/finger/lprint.c
368
while ((ch = getc(fp)) != EOF)
usr.bin/finger/net.c
136
while ((c = getc(fp)) != EOF) {
usr.bin/fpr/fpr.c
104
case EOF:
usr.bin/fpr/fpr.c
132
case EOF:
usr.bin/fpr/fpr.c
219
case EOF:
usr.bin/ftp/cmds.c
2471
if ((c = getchar()) == EOF) {
usr.bin/ftp/cmds.c
2492
while ((c = getchar()) != '\n' && c != EOF)
usr.bin/ftp/cmds.c
2494
if (c == EOF || getchar() == '\n') {
usr.bin/ftp/fetch.c
1306
if (fetch_flush(fin) == EOF) {
usr.bin/ftp/fetch.c
1628
if (fetch_flush(fin) == EOF) {
usr.bin/ftp/ftp.c
1136
if ((ch = ftp_getc(fout, &fout_errno)) == EOF)
usr.bin/ftp/ftp.c
1147
while ((c = ftp_getc(din, &din_errno)) != EOF) {
usr.bin/ftp/ftp.c
1159
if (ftp_putc('\r', fout, &fout_errno) == EOF
usr.bin/ftp/ftp.c
1167
if (c == EOF)
usr.bin/ftp/ftp.c
1171
if (ftp_putc(c, fout, &fout_errno) == EOF)
usr.bin/ftp/ftp.c
419
if (c != EOF) {
usr.bin/ftp/ftp.c
429
if (c != EOF) {
usr.bin/ftp/ftp.c
442
if (c == EOF) {
usr.bin/ftp/ftp.c
856
while ((c = ftp_getc(fin, &fin_errno)) != EOF) {
usr.bin/ftp/ftp.c
863
if (ftp_putc('\r', dout, &dout_errno) == EOF
usr.bin/ftp/ftp.c
868
if (ftp_putc(c, dout, &dout_errno) == EOF
usr.bin/ftp/ruserpass.c
188
while ((c = getc(cfile)) != EOF)
usr.bin/ftp/ruserpass.c
191
if (c == EOF || c == '\n') {
usr.bin/ftp/ruserpass.c
204
for (i = 0; i < 8 && (c = getc(cfile)) != EOF &&
usr.bin/ftp/ruserpass.c
208
if (c == EOF) {
usr.bin/ftp/ruserpass.c
216
while ((c = getc(cfile)) != EOF && c != '\n');
usr.bin/ftp/ruserpass.c
218
if (c == EOF) {
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
287
if (c == 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
1316
while ((ch = getchar()) != '\n' && ch != EOF)
usr.bin/ftp/util.c
1490
while ((res = getc(fin)) == EOF) {
usr.bin/ftp/util.c
1516
while ((res = putc(c, fout)) == EOF) {
usr.bin/gzip/unpack.c
232
if ((thisbyte = unpack_fgetc_in(unpackd, pre, prelen)) == EOF)
usr.bin/gzip/unpack.c
261
if (thisbyte == EOF)
usr.bin/gzip/unpack.c
302
while ((thisbyte = unpack_fgetc_in(unpackd, &pre, &prelen)) != EOF) {
usr.bin/head/head.c
169
while ((ch = getc(fp)) != EOF) {
usr.bin/head/head.c
170
if (putchar(ch) == EOF)
usr.bin/hexdump/display.c
384
if (getchar() == EOF)
usr.bin/hexdump/parse.c
80
while ((ch = getchar()) != '\n' && ch != EOF);
usr.bin/iconv/iconv.c
188
while ((ch = getopt(argc, argv, "cslf:o:t:")) != EOF) {
usr.bin/indent/args.c
274
while ((ch = getc(f)) != EOF) {
usr.bin/indent/args.c
302
if (ch == EOF)
usr.bin/indent/io.c
126
if (fputc('\n', output) == EOF)
usr.bin/indent/io.c
158
if (fputc('\t', output) == EOF)
usr.bin/indent/io.c
165
if (fputc(' ', output) == EOF)
usr.bin/indent/io.c
70
if (ch == EOF) {
usr.bin/lam/lam.c
201
for (p = s; (c = fgetc(ip->fp)) != EOF && p < end; p++)
usr.bin/lam/lam.c
205
if (c == EOF) {
usr.bin/leave/leave.c
158
if (puts("\07\07You have to leave in 5 minutes.\n") == EOF)
usr.bin/leave/leave.c
166
if (puts("\07\07Just one more minute!\n") == EOF)
usr.bin/leave/leave.c
172
if (puts("\07\07Time to leave!\n") == EOF)
usr.bin/locate/code/locate.code.c
151
if (putchar(SWITCH) == EOF ||
usr.bin/locate/code/locate.code.c
152
putw(diffcount, stdout) == EOF)
usr.bin/locate/code/locate.code.c
155
if (putchar(diffcount) == EOF)
usr.bin/locate/code/locate.code.c
160
if (putchar(*cp) == EOF)
usr.bin/locate/code/locate.code.c
165
if (putchar(*cp++) == EOF ||
usr.bin/locate/code/locate.code.c
166
putchar(*cp++) == EOF)
usr.bin/locate/code/locate.code.c
170
if (putchar((code / 2) | PARITY) == EOF)
usr.bin/locate/locate/locate.c
142
while ((c = getopt(argc, argv, "d:")) != EOF) {
usr.bin/locate/locate/locate.c
202
for (c = getc(fp), count = 0; c != EOF;) {
usr.bin/login/common.c
103
if (ch == EOF) {
usr.bin/look/look.c
284
if (putchar(*front) == EOF)
usr.bin/look/look.c
286
if (putchar('\n') == EOF)
usr.bin/m4/eval.c
464
while ((c = gpbc()) != '\n' && c != EOF)
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/main.c
421
if (t == EOF || (unsigned char)t != (unsigned char)*token) {
usr.bin/m4/main.c
431
#define LOOK_AHEAD(t, token) (t != EOF && \
usr.bin/m4/main.c
465
} else if (l == EOF) {
usr.bin/m4/main.c
495
if (t == EOF)
usr.bin/m4/main.c
542
} else if (t == EOF) {
usr.bin/m4/main.c
614
if (t == EOF)
usr.bin/m4/main.c
681
if (c != EOF)
usr.bin/m4/misc.c
238
while ((c = getc(outfile[n])) != EOF)
usr.bin/m4/misc.c
395
if (f->c == EOF)
usr.bin/m4/misc.c
396
return EOF;
usr.bin/m4/misc.c
434
f->c = EOF;
usr.bin/m4/misc.c
89
if (c == 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/complete.c
133
while ((ch = getchar()) != EOF && ch != ' ' && ch != 'q')
usr.bin/mail/edit.c
199
while ((c = getc(fp)) != EOF) {
usr.bin/mail/edit.c
212
if (putc(c, otf) == 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_attach.c
238
lastc = EOF;
usr.bin/mail/mime_attach.c
239
while ((c = fgetc(fh)) != EOF) {
usr.bin/mail/mime_attach.c
262
if (lastc == EOF) /* no characters read */
usr.bin/mail/mime_codecs.c
645
while ((c = getc(fi)) != EOF)
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
340
if (c == EOF)
usr.bin/mail/quit.c
451
while ((c = getc(abuf)) != EOF)
usr.bin/mail/quit.c
504
while (c != EOF) {
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
511
while (c != EOF) {
usr.bin/mail/tty.c
132
if (c == EOF) {
usr.bin/mail/tty.c
143
if (c == EOF && ferror(stdin)) {
usr.bin/make/filemon/filemon_ktrace.c
258
if (fflush(F->out) == EOF && error == 0)
usr.bin/make/filemon/filemon_ktrace.c
260
if (fclose(F->out) == EOF && error == 0)
usr.bin/make/filemon/filemon_ktrace.c
361
if (fclose(F->in) == EOF && error == 0)
usr.bin/menuc/mdb.c
471
while ((ch = fgetc(sys_file)) != EOF)
usr.bin/mkcsmapper/yacc.y
690
while ((ch=getopt(argc, argv, "do:mp")) != EOF) {
usr.bin/mkdep/mkdep.c
170
for (len = 0; (ch = getchar()) != EOF; len++) {
usr.bin/mkesdb/yacc.y
307
while ((ch=getopt(argc, argv, "do:m")) != EOF) {
usr.bin/mklocale/yacc.y
272
while ((x = getopt(ac, av, "do:t:")) != EOF) {
usr.bin/msgc/msgdb.c
234
while ((ch = fgetc(sys_file)) != EOF)
usr.bin/patch/pch.c
493
} while (c != EOF && c != '\n');
usr.bin/patch/pch.c
497
if (c != EOF)
usr.bin/pr/pr.c
1032
int ch = EOF;
usr.bin/pr/pr.c
1042
while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) {
usr.bin/pr/pr.c
1056
if ((col > lim) && (ungetc(ch, inf) == EOF))
usr.bin/pr/pr.c
1074
while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) {
usr.bin/pr/pr.c
1081
if (ch == EOF) {
usr.bin/pr/pr.c
1104
while ((ch = getc(inf)) != EOF) {
usr.bin/pr/pr.c
1176
if (putchar(ochar) == EOF) {
usr.bin/pr/pr.c
1187
if (putchar(' ') == EOF) {
usr.bin/pr/pr.c
1197
if (putchar(*buf++) == EOF) {
usr.bin/pr/pr.c
1221
if (putchar(ochar) == EOF) {
usr.bin/pr/pr.c
1231
if (putchar(' ') == EOF) {
usr.bin/pr/pr.c
1254
if ((putchar('\n') == EOF) || (dspace && (putchar('\n') == EOF))) {
usr.bin/pr/pr.c
1277
while ((c = getc(inf)) != EOF) {
usr.bin/pr/pr.c
1281
if (c == EOF) {
usr.bin/pr/pr.c
1465
while ((c = getc(ttyinf)) != '\n' && c != EOF)
usr.bin/pr/pr.c
1490
if ((putchar('\n') == EOF) || (putchar('\n') == EOF)) {
usr.bin/pr/pr.c
1528
if ((dspace && (putchar('\n') == EOF)) ||
usr.bin/pr/pr.c
1529
(putchar('\n') == EOF)) {
usr.bin/pr/pr.c
1552
if ((incomp && (putchar('\n') == EOF)) ||
usr.bin/pr/pr.c
1553
(putchar('\f') == EOF)) {
usr.bin/pr/pr.c
1561
if (putchar('\n') == EOF) {
usr.bin/qsubst/qsubst.c
282
if (c == EOF) {
usr.bin/qsubst/qsubst.c
403
if (c == EOF) {
usr.bin/rdist/gram.y
214
case EOF: /* end of file */
usr.bin/rdist/gram.y
218
while ((c = getc(fin)) != EOF && c != '\n')
usr.bin/rdist/gram.y
220
if (c == EOF)
usr.bin/rdist/gram.y
258
if (c == EOF || c == '"')
usr.bin/rdist/gram.y
261
if ((c = getc(fin)) == EOF) {
usr.bin/rdist/gram.y
292
if ((c = getc(fin)) != EOF) {
usr.bin/rdist/gram.y
302
if (c == EOF || any(c, " \"'\t()=;:\n")) {
usr.bin/rdist/server.c
948
if (c == EOF) {
usr.bin/rs/rs.c
188
} while (get_line() != EOF);
usr.bin/rs/rs.c
371
if ((c = getchar()) == EOF || c == '\n')
usr.bin/sdiff/sdiff.c
325
while (parsecmd(diffpipe, file1, file2) != EOF)
usr.bin/sdiff/sdiff.c
578
return (EOF);
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/sed/process.c
648
} else if (wc != L'\0' && (c = wctob(wc)) != EOF &&
usr.bin/soelim/soelim.c
188
if (c == EOF)
usr.bin/soelim/soelim.c
213
case EOF:
usr.bin/soelim/soelim.c
234
if (c == EOF)
usr.bin/sort/files.c
114
if (c == EOF) {
usr.bin/sort/files.c
117
return EOF;
usr.bin/sort/files.c
159
return EOF;
usr.bin/sort/files.c
192
while ((c = getc(fp)) != EOF) {
usr.bin/sort/files.c
269
return (EOF);
usr.bin/sort/fsort.c
139
if (c == EOF) {
usr.bin/sort/fsort.c
175
if (c == EOF && mfct == 0) {
usr.bin/sort/fsort.c
190
if (c == EOF) {
usr.bin/sort/fsort.h
68
#define BUFFEND (EOF-2)
usr.bin/sort/msort.c
216
if (c == EOF)
usr.bin/sort/msort.c
253
if (c == EOF) {
usr.bin/sort/sort.h
99
if (EOF == fclose(file)) \
usr.bin/spell/spellprog/spellprog.c
386
if (ch == 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/forward.c
183
if (putchar(ch) == 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/tail/reverse.c
227
if (ch == EOF)
usr.bin/tftp/tftpsubs.c
168
if (c == EOF) break;
usr.bin/tftp/tftpsubs.c
241
if (putc(c, file) == EOF)
usr.bin/tip/cmds.c
322
if (c == EOF)
usr.bin/tip/tip.c
371
while ((c = getchar()) != EOF && (*p = c) != '\n' &&
usr.bin/tip/tip.c
403
if (__predict_false(c == EOF)) {
usr.bin/tr/tr.c
111
for (lastch = OOBCH; (ch = getchar()) != EOF; )
usr.bin/tr/tr.c
129
while ((ch = getchar()) != EOF)
usr.bin/tr/tr.c
142
for (lastch = OOBCH; (ch = getchar()) != EOF;)
usr.bin/tr/tr.c
240
for (lastch = OOBCH; (ch = getchar()) != EOF;) {
usr.bin/tr/tr.c
248
while ((ch = getchar()) != EOF)
usr.bin/tsort/tsort.c
165
while (c != EOF && isspace(c))
usr.bin/tsort/tsort.c
167
if (c == EOF)
usr.bin/tsort/tsort.c
178
} while (c != EOF && !isspace(c));
usr.bin/ul/ul.c
153
while ((c = getc(f)) != EOF) switch(c) {
usr.bin/unexpand/unexpand.c
164
if (putchar('\t') == EOF)
usr.bin/unexpand/unexpand.c
173
if (putchar('\t') == EOF)
usr.bin/unexpand/unexpand.c
181
if (putchar(' ') == EOF)
usr.bin/unexpand/unexpand.c
187
if (putchar(*p) == EOF)
usr.bin/unexpand/unexpand.c
204
if (putchar(*p) == EOF)
usr.bin/unvis/unvis.c
114
while ((c = getc(fp)) != EOF) {
usr.bin/usbhidaction/usbhidaction.c
231
if (c != EOF)
usr.bin/uuencode/uuencode.c
165
if (putchar(ch) == EOF)
usr.bin/uuencode/uuencode.c
176
if (putchar(ch) == EOF)
usr.bin/uuencode/uuencode.c
180
if (putchar(ch) == EOF)
usr.bin/uuencode/uuencode.c
184
if (putchar(ch) == EOF)
usr.bin/uuencode/uuencode.c
188
if (putchar(ch) == EOF)
usr.bin/uuencode/uuencode.c
191
if (putchar('\n') == EOF)
usr.bin/what/what.c
105
while ((c = getchar()) != EOF) {
usr.bin/what/what.c
115
while ((c = getchar()) != EOF && c != '\0' && c != '"' &&
usr.bin/write/write.c
276
#define PUTC(c) if (putchar(c) == EOF) goto err;
usr.bin/xargs/xargs.c
283
case EOF:
usr.bin/xargs/xargs.c
363
if (xp == endxp || p > ebp || ch == EOF ||
usr.bin/xargs/xargs.c
372
if (ch == EOF || foundeof) {
usr.bin/xargs/xargs.c
399
if (!insingle && !indouble && (ch = getchar()) == EOF)
usr.bin/xlint/common/emit.c
64
if (fclose(output_file) == EOF)
usr.bin/xlint/lint1/lex.c
1198
if ((c = read_byte()) == EOF) {
usr.bin/xlint/lint1/lex.c
1283
while (c != EOF && l < sizeof(keywd) - 1 &&
usr.bin/xlint/lint1/lex.c
1330
if ((c = read_byte()) == EOF) {
usr.bin/xlint/lint1/lex.c
1348
for (int c; c = read_byte(), c != EOF && c != '\n';)
usr.bin/xlint/lint1/lex.c
439
return c == '\0' ? EOF : c; /* lex returns 0 on EOF. */
usr.sbin/bootp/common/readfile.c
537
case EOF:
usr.sbin/bootp/common/readfile.c
561
case EOF:
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
284
EOF) {
usr.sbin/lpr/common_source/common.c
214
if (c == EOF)
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
131
case EOF:
usr.sbin/lpr/lpd/lpd.c
380
while (EOF != (c1 = fgetc(fhost))) {
usr.sbin/lpr/lpd/lpd.c
389
} while (c3 != EOF && c3 != '\n');
usr.sbin/lpr/lpd/printjob.c
1177
while ((i = getc(fp)) != EOF)
usr.sbin/makefs/walk.c
458
if (fclose(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/ofctl/ofctl.c
506
while ((c = getopt(argc, argv, "f:lpr:vw:")) != EOF) {
usr.sbin/pwd_mkdb/pwd_mkdb.c
559
if (fflush(oldfp) == EOF)
usr.sbin/pwd_mkdb/pwd_mkdb.c
561
if (fclose(oldfp) == EOF)
usr.sbin/pwd_mkdb/pwd_mkdb.c
568
if (fclose(fp) == EOF)
usr.sbin/quot/quot.c
462
while ((c = getchar()) != EOF && (c < '0' || c > '9'))
usr.sbin/quot/quot.c
463
while ((c = getchar()) != EOF && c != '\n');
usr.sbin/quot/quot.c
483
while (c != EOF && c != '\n') {
usr.sbin/quot/quot.c
495
while ((c = getchar()) != EOF && c != '\n')
usr.sbin/quot/quot.c
498
if (c == EOF)
usr.sbin/quotarestore/quotarestore.c
490
if (ch == EOF)
usr.sbin/sysinst/run.c
233
while ((ch = fgetc(f)) != EOF) {
usr.sbin/timed/timed/readmsg.c
196
&& EOF == fflush(fd))
usr.sbin/ypbind/ypbind.c
1118
while ((c = getc(dom->dom_serversfile)) != '\n' && c != EOF)