bin/cat/cat.c
177
for (prev = '\n'; (ch = getc(fp)) != EOF; prev = ch) {
bin/cat/cat.c
200
if (eflag && 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
92
while (ch != '\n' && ch != EOF)
bin/cpdup/cpdup.c
1708
while (ch != '\n' && ch != EOF)
bin/cpdup/md5.c
106
while (c != EOF) {
bin/cpdup/md5.c
130
node->md_Name = fextract(fi, nlen, &c, EOF);
bin/cpdup/md5.c
133
while (c != EOF && c != '\n')
bin/cpdup/md5.c
136
if (c != EOF)
bin/cpdup/misc.c
59
while (c != EOF) {
bin/cpdup/misc.c
74
if (c == skip && skip != EOF)
bin/ed/cbc.c
115
return (des_ct > 0) ? des_buf[des_n++] : EOF;
bin/ed/cbc.c
131
return (des_ct >= 0) ? (des_buf[des_n++] = c) : EOF;
bin/ed/cbc.c
147
return (des_ct >= 0 && cbc_encode(des_buf, des_n, fp) >= 0) ? 0 : EOF;
bin/ed/cbc.c
379
if ((c = fgetc(fp)) == EOF) {
bin/ed/cbc.c
383
return EOF;
bin/ed/cbc.c
393
return EOF;
bin/ed/io.c
122
while (((c = des ? get_des_char(fp) : getc(fp)) != EOF || (!feof(fp) &&
bin/ed/io.c
279
case EOF:
bin/ed/main.c
1029
return l ? EOF : 0;
bin/ed/main.c
206
case EOF:
bin/ed/main.c
343
return EOF;
bin/ed/main.c
639
gflag = (modified && !scripted && c == 'q') ? EMOD : EOF;
bin/ed/main.c
772
gflag = EOF;
bin/ln/ln.c
309
while(ch != '\n' && ch != EOF)
bin/mv/mv.c
207
while (ch != '\n' && ch != EOF)
bin/pax/getoldopt.c
31
if (argc < 2) return EOF;
bin/pax/getoldopt.c
45
return EOF;
bin/rm/rm.c
617
while (ch != '\n' && ch != EOF)
bin/rm/rm.c
619
if (ch == EOF)
crypto/openssh/ssh-keygen.c
626
while ((c = fgetc(fp)) != EOF) {
crypto/openssh/ssh-keygen.c
632
if (c != EOF && c != '\n' && ungetc(c, fp) == EOF)
crypto/openssh/utf8.c
286
if (fputs(str, stream) == EOF)
games/adventure/hdr.h
67
#define FLUSHLINE do { int flushline_ch; while ((flushline_ch = getchar()) != EOF && flushline_ch != '\n'); } while (0)
games/adventure/io.c
118
else if (ch == EOF) {
games/adventure/io.c
146
else if (ch == EOF) {
games/adventure/io.c
91
case EOF:
games/adventure/save.c
206
if (ch == EOF || ferror(sf->f)) {
games/adventure/setup.c
89
while ((c = getc(infile)) != EOF) {
games/adventure/setup.c
93
while ((c = getc(infile)) == ' ' && c != EOF);
games/adventure/wizard.c
133
if (ch == '\n' || ch == EOF)
games/arithmetic/arithmetic.c
142
if (problem() == EOF)
games/arithmetic/arithmetic.c
233
return(EOF);
games/atc/graphics.c
293
if (c == EOF || c == 'y') {
games/atc/graphics.c
364
while ((c = getchar()) != EOF && c != ' ')
games/battlestar/fly.c
163
case EOF:
games/battlestar/getcom.c
56
while ((i = getchar()) != '\n' && i != 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/mach.c
249
ch = EOF;
games/boggle/boggle/mach.c
276
if (ch == EOF)
games/boggle/boggle/word.c
76
if ((pcount = getc(fp)) == EOF)
games/boggle/boggle/word.c
79
} else if ((pcount = lastch) == 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/mkdict/mkdict.c
79
if (ch == EOF)
games/boggle/mkindex/mkindex.c
83
if ((pcount = getc(fp)) == EOF)
games/boggle/mkindex/mkindex.c
87
else if ((pcount = lastch) == EOF)
games/boggle/mkindex/mkindex.c
92
while ((ch = getc(fp)) != EOF && ch >= 'a')
games/caesar/caesar.c
76
while ((ch = getchar()) != EOF)
games/cgram/cgram.c
225
while ((ch = fgetc(f)) != EOF) {
games/ching/castching/castching.c
87
while ((c = getchar()) != EOF)
games/fish/fish.c
443
while ((input = getchar()) != EOF && input != '\n');
games/gomoku/bdisp.c
280
while (cp < end && (c = getchar()) != EOF && c != '\n' && c != '\r') {
games/gomoku/bdisp.c
313
return(c != EOF);
games/gomoku/main.c
348
while ((c = getc(fp)) != EOF && c != '\n' && pos < sizeof(buf) - 1)
games/hack/hack.main.c
501
if (c == EOF)
games/hack/hack.tty.c
223
if ((c = getchar()) == EOF) {
games/hack/hack.tty.c
347
if ((sym = getchar()) == EOF)
games/hack/hack.tty.c
358
if ((sym = getchar()) != EOF)
games/hunt/hunt/hunt.c
675
else if (i == '\n' || i == EOF || i == ' ')
games/hunt/hunt/hunt.c
678
while (i != '\n' && i != EOF)
games/hunt/hunt/playit.c
121
ch = EOF;
games/hunt/hunt/playit.c
96
while ((ch = GETCHR()) != EOF) {
games/morse/morse.c
469
while ((ch = getchar()) != EOF) {
games/morse/morse.c
477
while ((ch = getchar()) != EOF &&
games/morse/morse.c
523
while ((ch = getchar()) != EOF) {
games/pig/pig.c
61
for (len = 0; (ch = getchar()) != EOF;) {
games/ppt/ppt.c
122
else while ((c = getchar()) != EOF)
games/random/random.c
156
while ((ch = getchar()) != EOF) {
games/robots/move.c
176
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
199
fflush(sf) == EOF)
games/tetris/scores.c
382
if (c == EOF)
games/tetris/tetris.c
339
if (i == EOF)
games/trek/computer.c
289
if (i == EOF)
games/trek/getpar.c
218
if (c == EOF) {
games/trek/getpar.c
242
if (c == EOF) {
games/trek/getpar.c
261
if (c == EOF) {
games/trek/getpar.c
285
while ((c = getchar()) != EOF) {
lib/i18n_module/mapper_zone/citrus_mapper_zone.c
137
return (EOF);
lib/i18n_module/mapper_zone/citrus_mapper_zone.c
284
if (ret != EOF)
lib/libc/citrus/citrus_memstream.c
142
while ((ch = _memstream_peek(ms)) != EOF) {
lib/libc/citrus/citrus_memstream.h
135
return (EOF);
lib/libc/citrus/citrus_memstream.h
143
if (ch != EOF && ms->ms_pos > 0)
lib/libc/citrus/citrus_memstream.h
152
return (EOF);
lib/libc/citrus/citrus_prop.c
259
case EOF:
lib/libc/citrus/citrus_prop.c
264
quot = EOF;
lib/libc/citrus/citrus_prop.c
271
quot = EOF;
lib/libc/citrus/citrus_prop.c
284
if (quot == ch || (quot == EOF &&
lib/libc/citrus/citrus_prop.c
434
if (ch == EOF || ch == '\0')
lib/libc/db/recno/rec_get.c
133
if ((ch = getc(t->bt_rfp)) == EOF || !--len) {
lib/libc/db/recno/rec_get.c
134
if (ch != EOF)
lib/libc/db/recno/rec_get.c
144
if (ch == EOF)
lib/libc/db/recno/rec_get.c
178
if ((ch = getc(t->bt_rfp)) == EOF || ch == bval) {
lib/libc/db/recno/rec_get.c
182
if (ch == EOF && data.size == 0)
lib/libc/db/recno/rec_get.c
199
if (ch == EOF)
lib/libc/gen/getttyent.c
270
rval = (fclose(tf) != EOF);
lib/libc/locale/btowc.c
48
if (c == EOF)
lib/libc/locale/runetype.c
55
if (c < 0 || c == EOF)
lib/libc/locale/tolower.c
55
if (c < 0 || c == EOF)
lib/libc/locale/toupper.c
55
if (c < 0 || c == EOF)
lib/libc/locale/wctob.c
49
return (EOF);
lib/libc/net/rcmd.c
585
while ((ch = getc(hostf)) != '\n' && ch != EOF);
lib/libc/stdio/fclose.c
52
return (EOF);
lib/libc/stdio/fclose.c
57
r = EOF;
lib/libc/stdio/fflush.c
133
return (EOF);
lib/libc/stdio/fpurge.c
55
retval = EOF;
lib/libc/stdio/fputwc.c
84
if (__sputc((unsigned char)buf[i], fp) == EOF)
lib/libc/stdio/fvwrite.c
200
return (EOF);
lib/libc/stdio/fvwrite.c
61
return (EOF);
lib/libc/stdio/gets.c
61
if (c == EOF)
lib/libc/stdio/gets_s.c
56
if (c == EOF) {
lib/libc/stdio/gets_s.c
71
while ((c = __sgetc(stdin)) != '\n' && c != EOF);
lib/libc/stdio/getw.c
44
return (fread((void *)&x, sizeof(x), 1, fp) == 1 ? x : EOF);
lib/libc/stdio/puts.c
63
retval = __sfvwrite(stdout, &uio) ? EOF : '\n';
lib/libc/stdio/refill.c
140
return (EOF);
lib/libc/stdio/refill.c
78
return (EOF);
lib/libc/stdio/refill.c
85
return (EOF);
lib/libc/stdio/refill.c
90
return (EOF);
lib/libc/stdio/rget.c
51
return (EOF);
lib/libc/stdio/setvbuf.c
102
ret = EOF;
lib/libc/stdio/setvbuf.c
61
return (EOF);
lib/libc/stdio/snprintf.c
65
return (EOF);
lib/libc/stdio/snprintf.c
93
return (EOF);
lib/libc/stdio/ungetc.c
107
if (c == EOF)
lib/libc/stdio/ungetc.c
108
return (EOF);
lib/libc/stdio/ungetc.c
115
return (EOF);
lib/libc/stdio/ungetc.c
118
return (EOF);
lib/libc/stdio/ungetc.c
133
return (EOF);
lib/libc/stdio/ungetc.c
63
return (EOF);
lib/libc/stdio/ungetc.c
75
return (EOF);
lib/libc/stdio/ungetwc.c
74
if (__ungetc((unsigned char)buf[len], fp) == EOF)
lib/libc/stdio/vdprintf.c
54
return (EOF);
lib/libc/stdio/vdprintf.c
69
return (__fflush(&f) ? EOF : ret);
lib/libc/stdio/vfprintf.c
1028
ret = EOF;
lib/libc/stdio/vfprintf.c
181
return (EOF);
lib/libc/stdio/vfprintf.c
197
ret = EOF;
lib/libc/stdio/vfprintf.c
435
ret = EOF; \
lib/libc/stdio/vfprintf.c
455
return (EOF);
lib/libc/stdio/vfprintf.c
480
ret = EOF;
lib/libc/stdio/vfprintf.c
566
ret = EOF;
lib/libc/stdio/vfprintf.c
936
ret = EOF;
lib/libc/stdio/vfscanf.c
654
return (EOF);
lib/libc/stdio/vfscanf.c
809
return (nconversions != 0 ? nassigned : EOF);
lib/libc/stdio/vfwprintf.c
1088
ret = EOF;
lib/libc/stdio/vfwprintf.c
217
return (EOF);
lib/libc/stdio/vfwprintf.c
265
return (__sfvwrite(fp, &uio) != EOF ? (wint_t)wc : WEOF);
lib/libc/stdio/vfwprintf.c
512
ret = EOF; \
lib/libc/stdio/vfwprintf.c
527
return (EOF);
lib/libc/stdio/vfwprintf.c
548
ret = EOF;
lib/libc/stdio/vfwprintf.c
634
ret = EOF;
lib/libc/stdio/vfwprintf.c
999
ret = EOF;
lib/libc/stdio/vfwscanf.c
645
return (EOF);
lib/libc/stdio/vfwscanf.c
784
return (nconversions != 0 ? nassigned : EOF);
lib/libc/stdio/vsnprintf.c
65
return (EOF);
lib/libc/stdio/vswscanf.c
78
return (EOF);
lib/libc/stdio/vswscanf.c
83
return (EOF);
lib/libc/stdio/wbuf.c
60
return (EOF);
lib/libc/stdio/wbuf.c
77
return (EOF);
lib/libc/stdio/wbuf.c
84
return (EOF);
lib/libc/stdio/wsetup.c
60
return (EOF);
lib/libc/stdio/xprintf.c
600
ret = EOF;
lib/libcompat/4.3/rexec.c
105
while ((c = getc(cfile)) != EOF &&
lib/libcompat/4.3/rexec.c
108
if (c == EOF)
lib/libcompat/4.3/rexec.c
112
while ((c = getc(cfile)) != EOF && c != '"') {
lib/libcompat/4.3/rexec.c
119
while ((c = getc(cfile)) != EOF
lib/libcompat/4.3/rexec.c
228
while ((c=getc(cfile)) != EOF &&
lib/libcompat/4.3/rexec.c
231
if (c == EOF || c == '\n') {
lib/libcompat/4.3/rexec.c
241
for (i=0; i < 8 && (c=getc(cfile)) != EOF &&
lib/libcompat/4.3/rexec.c
245
if (c == EOF) {
lib/libcompat/4.3/rexec.c
251
while ((c=getc(cfile)) != EOF && c != '\n');
lib/libcompat/4.3/rexec.c
253
if (c == EOF) {
lib/libcompat/4.3/rexec.c
265
if ((c=getc(cfile)) == EOF) {
lib/libevtr/ktrfmt.yy.c
1310
return EOF;
lib/libevtr/ktrfmt.yy.c
655
(c = getc( __ktrfmtin )) != EOF && c != '\n'; ++n ) \
lib/libevtr/ktrfmt.yy.c
659
if ( c == EOF && ferror( __ktrfmtin ) ) \
lib/libftpio/ftpio.c
513
i = (fd >= 0) ? read(fd, buf, nbytes) : EOF;
lib/libftpio/ftpio.c
524
i = (fd >= 0) ? write(fd, buf, nbytes) : EOF;
libexec/bootpd/readfile.c
539
case EOF:
libexec/bootpd/readfile.c
563
case EOF:
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
1256
if (c == EOF && cs == s)
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
1996
} while (ret == EOF); \
libexec/ftpd/ftpd.c
2016
cp = EOF;
libexec/ftpd/ftpd.c
2020
else if (c == EOF && ferror(instr))
libexec/ftpd/ftpd.c
2022
if (c == EOF) {
libexec/ftpd/ftpd.c
2042
while (fflush(outstr) == EOF) {
libexec/ftpd/ftpd.c
2051
if (fflush(outstr) == EOF)
libexec/ftpd/ftpd.c
2215
cp = EOF;
libexec/ftpd/ftpd.c
2219
else if (c == EOF && ferror(instr))
libexec/ftpd/ftpd.c
2221
if (c == EOF && ferror(instr)) { /* resume after OOB */
libexec/ftpd/ftpd.c
2239
if (c == EOF) {
libexec/ftpd/ftpd.c
2252
while (fflush(outstr) == EOF) {
libexec/ftpd/ftpd.c
2261
if (fflush(outstr) == EOF)
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/camcontrol/modeedit.c
396
while ((cc = fgetc(pagedb)) != EOF) {
sbin/camcontrol/modeedit.c
406
} while (cc != '\n' && cc != EOF);
sbin/cryptdisks/cryptdisks.c
453
while (((c = fgetc(fd)) != EOF) && (c != '\n')) {
sbin/devfsctl/devfsctl.c
611
while (((c = fgetc(fd)) != EOF) && (c != '\n')) {
sbin/dhclient/clparse.c
120
if (token == EOF)
sbin/dhclient/clparse.c
374
if (token == EOF) {
sbin/dhclient/clparse.c
415
if (token == EOF) {
sbin/dhclient/clparse.c
90
if (token == EOF)
sbin/dhclient/conflex.c
116
} else if (c != EOF) {
sbin/dhclient/conflex.c
229
if (c == EOF)
sbin/dhclient/conflex.c
244
if (c == EOF) {
sbin/dhclient/dhctoken.h
87
(x) != EOF)
sbin/dhclient/parse.c
92
} while (token != EOF);
sbin/disklabel32/disklabel.c
732
if (c != EOF && c != (int)'\n')
sbin/disklabel64/disklabel64.c
782
if (c != EOF && c != (int)'\n')
sbin/ldconfig/elfhints.c
291
if (fputs(dirs[0], fp) == EOF)
sbin/ldconfig/elfhints.c
297
if (putc('\0', fp) == EOF || fclose(fp) == EOF)
sbin/restore/utilities.c
389
if (c == EOF)
share/examples/ppi/ppilcd.c
161
while ((ch = fgetc(stdin)) != EOF)
test/interbench/interbench.c
246
if ((fflush(NULL)) == EOF)
test/stress/fsx/fsx.c
986
!= EOF)
tools/tools/ath/athprom/athprom.c
233
if (c == EOF)
tools/tools/ath/athprom/athprom.c
234
return EOF;
tools/tools/ath/athprom/athprom.c
259
if (c == EOF)
tools/tools/ath/athprom/athprom.c
262
if (token(fd, id, MAXID, ".directive") == EOF)
tools/tools/ath/athprom/athprom.c
270
if (c == EOF)
tools/tools/ath/athprom/athprom.c
280
return EOF;
tools/tools/ath/athprom/athprom.c
289
while ((c = getc(fd)) != EOF && isblank(c))
tools/tools/ath/athprom/athprom.c
291
if (c != EOF)
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
881
if (c == EOF)
tools/tools/ath/athprom/athprom.c
888
if (token(ftemplate, id, MAXID, ".directive") == EOF)
tools/tools/ath/athprom/athprom.c
893
if (token(ftemplate, id, MAXID, "id") == EOF)
tools/tools/ath/athprom/athprom.c
910
if (token(ftemplate, id, MAXID, "pdgain") == EOF)
tools/tools/ath/athprom/athprom.c
924
if (token(ftemplate, id, MAXID, "pdgain") == EOF)
tools/tools/ath/athprom/athprom.c
962
if (token(ftemplate, id, MAXID, "$var") == EOF)
tools/tools/ath/athprom/athprom.c
970
if (c == EOF)
usr.bin/at/at.c
195
jobno = EOF;
usr.bin/at/at.c
204
return EOF;
usr.bin/at/at.c
261
if ((jobno = nextjob()) == EOF)
usr.bin/at/at.c
420
while((ch = getchar()) != EOF)
usr.bin/at/at.c
600
while((ch = getc(fp)) != EOF) {
usr.bin/at/parsetime.c
197
sc_tokid = EOF;
usr.bin/at/parsetime.c
259
panic((tok == EOF) ? "incomplete time"
usr.bin/at/parsetime.c
379
if ((sc_tokid == EOF || sc_tokid == PLUS) && tm->tm_hour > hour) {
usr.bin/at/parsetime.c
621
expect(EOF);
usr.bin/bdes/bdes.c
525
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
597
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
731
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
823
if ((c = getchar()) == EOF) {
usr.bin/bdes/bdes.c
917
if ((c = getchar()) == EOF) {
usr.bin/calendar/io.c
693
while ((ch = fgetc(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
69
if (ch1 == EOF || ch2 == EOF)
usr.bin/compress/compress.c
377
while (ch != '\n' && ch != EOF)
usr.bin/compress/zopen.c
339
rval = fclose(fp) == EOF ? -1 : 0;
usr.bin/ctags/C.c
194
while (GETC(!=, EOF) && (c == ' ' || c == '\t'))
usr.bin/ctags/C.c
196
if (c == EOF)
usr.bin/ctags/C.c
262
while (GETC(!=, EOF)) {
usr.bin/ctags/C.c
294
while (GETC(!=, EOF) && iswhite(c))
usr.bin/ctags/C.c
324
while (GETC(!=, EOF) && (c == ' ' || c == '\t'))
usr.bin/ctags/C.c
330
if (GETC(==, EOF))
usr.bin/ctags/C.c
344
if (GETC(==, EOF))
usr.bin/ctags/C.c
355
if (GETC(==, EOF))
usr.bin/ctags/C.c
390
if (GETC(==, EOF))
usr.bin/ctags/C.c
400
if (GETC(==, EOF))
usr.bin/ctags/C.c
413
while (GETC(!=, EOF))
usr.bin/ctags/C.c
436
for (star = 0; GETC(!=, EOF);)
usr.bin/ctags/C.c
467
for (skip = NO; GETC(!=, EOF); )
usr.bin/ctags/C.c
493
for (skip = retval = NO; GETC(!=, EOF);)
usr.bin/ctags/C.c
61
while (GETC(!=, EOF)) {
usr.bin/ctags/ctags.c
272
if (GETC(==, EOF))
usr.bin/ctags/print.c
55
for (cp = lbuf; GETC(!=, EOF) && c != '\n'; *cp++ = c)
usr.bin/ctags/print.c
62
else for (cnt = 0, cp = lbuf; GETC(!=, EOF) && cnt < ENDLINE; ++cnt) {
usr.bin/ctags/yacc.c
128
for (state = 0; GETC(!=, EOF);)
usr.bin/ctags/yacc.c
53
while (GETC(!=, EOF))
usr.bin/ctags/yacc.c
92
while (GETC(!=, EOF) && (intoken(c) || c == '.'))
usr.bin/ctags/yacc.c
99
if (GETC(==, EOF))
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/bcode.c
1620
case EOF:
usr.bin/dc/bcode.c
1686
if (ch == EOF) {
usr.bin/dc/bcode.c
1737
if (ch == EOF) {
usr.bin/dc/bcode.c
772
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
193
while ((ch = (*src->vtable->readchar)(src)) != EOF) {
usr.bin/dc/inout.c
240
while ((ch = (*src->vtable->readchar)(src)) != EOF) {
usr.bin/dfregress/parser.c
157
while (((c = fgetc(fd)) != EOF) && (c != '\n')) {
usr.bin/diff/diffreg.c
1131
if ((c = getc(lb)) == EOF) {
usr.bin/diff/diffreg.c
1179
if (t == EOF) {
usr.bin/diff/diffreg.c
1188
if (t == EOF) {
usr.bin/diff/diffreg.c
1213
case EOF:
usr.bin/diff/diffreg.c
726
if (c == EOF && d == '\n') {
usr.bin/diff/diffreg.c
729
} else if (c == '\n' && d == EOF) {
usr.bin/diff/diffreg.c
760
if (c != '\n' && c != EOF)
usr.bin/diff/diffreg.c
762
if (d != '\n' && c != EOF)
usr.bin/diff/diffreg.c
766
if (c == '\n' || c == EOF)
usr.bin/diff/diffreg.c
775
if (c != '\n' && c != EOF)
usr.bin/diff/diffreg.c
777
if (d != '\n' && c != EOF)
usr.bin/diff/diffreg.c
781
if (c == '\n' || c == EOF)
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/file2c/file2c.c
58
while((c = getchar()) != 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/gzip/unpack.c
201
if ((thisbyte = fgetc(unpackd->fpIn)) == EOF)
usr.bin/gzip/unpack.c
228
if ((thisbyte = fgetc(unpackd->fpIn)) == EOF)
usr.bin/gzip/unpack.c
267
while ((thisbyte = fgetc(unpackd->fpIn)) != EOF) {
usr.bin/hexdump/display.c
352
if (getchar() == EOF)
usr.bin/hexdump/parse.c
58
while ((ch = getchar()) != '\n' && ch != EOF);
usr.bin/indent/args.c
201
while ((i = getc(f)) != EOF) {
usr.bin/indent/args.c
221
else if (i == EOF)
usr.bin/indent/io.c
300
if ((i = getc(f)) == EOF) {
usr.bin/lam/lam.c
191
for (p = s; (c = fgetc(ip->fp)) != EOF && p < end; p++)
usr.bin/lam/lam.c
195
if (c == EOF) {
usr.bin/localedef/collate.c
225
static int currorder = EOF;
usr.bin/localedef/collate.c
226
static int lastorder = EOF;
usr.bin/localedef/localedef.c
192
if (s && fputs(s, f) == EOF) {
usr.bin/localedef/localedef.c
196
return (EOF);
usr.bin/localedef/localedef.c
198
if (fputc('\n', f) == EOF) {
usr.bin/localedef/localedef.c
202
return (EOF);
usr.bin/localedef/localedef.c
217
return (EOF);
usr.bin/localedef/messages.c
112
if ((putl_category(msgs.yesexpr, f) == EOF) ||
usr.bin/localedef/messages.c
113
(putl_category(msgs.noexpr, f) == EOF) ||
usr.bin/localedef/messages.c
114
(putl_category(msgs.yesstr, f) == EOF) ||
usr.bin/localedef/messages.c
115
(putl_category(msgs.nostr, f) == EOF)) {
usr.bin/localedef/monetary.c
190
if ((putl_category(mon.int_curr_symbol, f) == EOF) ||
usr.bin/localedef/monetary.c
191
(putl_category(mon.currency_symbol, f) == EOF) ||
usr.bin/localedef/monetary.c
192
(putl_category(mon.mon_decimal_point, f) == EOF) ||
usr.bin/localedef/monetary.c
193
(putl_category(mon.mon_thousands_sep, f) == EOF) ||
usr.bin/localedef/monetary.c
194
(putl_category(mon.mon_grouping, f) == EOF) ||
usr.bin/localedef/monetary.c
195
(putl_category(mon.positive_sign, f) == EOF) ||
usr.bin/localedef/monetary.c
196
(putl_category(mon.negative_sign, f) == EOF) ||
usr.bin/localedef/monetary.c
197
(putl_category(mon.int_frac_digits, f) == EOF) ||
usr.bin/localedef/monetary.c
198
(putl_category(mon.frac_digits, f) == EOF) ||
usr.bin/localedef/monetary.c
199
(putl_category(mon.p_cs_precedes, f) == EOF) ||
usr.bin/localedef/monetary.c
200
(putl_category(mon.p_sep_by_space, f) == EOF) ||
usr.bin/localedef/monetary.c
201
(putl_category(mon.n_cs_precedes, f) == EOF) ||
usr.bin/localedef/monetary.c
202
(putl_category(mon.n_sep_by_space, f) == EOF) ||
usr.bin/localedef/monetary.c
203
(putl_category(mon.p_sign_posn, f) == EOF) ||
usr.bin/localedef/monetary.c
204
(putl_category(mon.n_sign_posn, f) == EOF) ||
usr.bin/localedef/monetary.c
205
(putl_category(mon.int_p_cs_precedes, f) == EOF) ||
usr.bin/localedef/monetary.c
206
(putl_category(mon.int_n_cs_precedes, f) == EOF) ||
usr.bin/localedef/monetary.c
207
(putl_category(mon.int_p_sep_by_space, f) == EOF) ||
usr.bin/localedef/monetary.c
208
(putl_category(mon.int_n_sep_by_space, f) == EOF) ||
usr.bin/localedef/monetary.c
209
(putl_category(mon.int_p_sign_posn, f) == EOF) ||
usr.bin/localedef/monetary.c
210
(putl_category(mon.int_n_sign_posn, f) == EOF)) {
usr.bin/localedef/numeric.c
116
if ((putl_category(numeric.decimal_point, f) == EOF) ||
usr.bin/localedef/numeric.c
117
(putl_category(numeric.thousands_sep, f) == EOF) ||
usr.bin/localedef/numeric.c
118
(putl_category(numeric.grouping, f) == EOF)) {
usr.bin/localedef/scanner.c
410
return (EOF);
usr.bin/localedef/scanner.c
435
return (EOF);
usr.bin/localedef/scanner.c
476
if ((mbi == mb_cur_max) || ((c = get_byte()) == EOF)) {
usr.bin/localedef/scanner.c
511
while ((c = scanc()) != EOF) {
usr.bin/localedef/scanner.c
582
return (EOF);
usr.bin/localedef/scanner.c
664
if (c == EOF) {
usr.bin/localedef/scanner.c
678
while ((c = scanc()) != EOF) {
usr.bin/localedef/scanner.c
749
if ((c = scanc()) == EOF) {
usr.bin/localedef/scanner.c
751
return (EOF);
usr.bin/localedef/scanner.c
821
return (EOF);
usr.bin/localedef/time.c
242
if (putl_category(tm.mon[i], f) == EOF) {
usr.bin/localedef/time.c
247
if (putl_category(tm.month[i], f) == EOF) {
usr.bin/localedef/time.c
252
if (putl_category(tm.wday[i], f) == EOF) {
usr.bin/localedef/time.c
257
if (putl_category(tm.weekday[i], f) == EOF) {
usr.bin/localedef/time.c
268
if ((putl_category(tm.X_fmt, f) == EOF) ||
usr.bin/localedef/time.c
269
(putl_category(tm.x_fmt, f) == EOF) ||
usr.bin/localedef/time.c
270
(putl_category(tm.c_fmt, f) == EOF) ||
usr.bin/localedef/time.c
271
(putl_category(tm.am, f) == EOF) ||
usr.bin/localedef/time.c
272
(putl_category(tm.pm, f) == EOF) ||
usr.bin/localedef/time.c
273
(putl_category(tm.date_fmt ? tm.date_fmt : tm.c_fmt, f) == EOF) ||
usr.bin/localedef/time.c
274
(putl_category(tm.ampm_fmt, f) == EOF)) {
usr.bin/locate/code/locate.code.c
190
if (putchar(SWITCH) == EOF ||
usr.bin/locate/code/locate.code.c
191
putw(diffcount, stdout) == EOF)
usr.bin/locate/code/locate.code.c
194
if (putchar(diffcount) == EOF)
usr.bin/locate/code/locate.code.c
206
if (putchar((code / 2) | PARITY) == EOF)
usr.bin/locate/code/locate.code.c
219
if (putchar(UMLAUT) == EOF ||
usr.bin/locate/code/locate.code.c
220
putchar(*cp++) == EOF)
usr.bin/locate/code/locate.code.c
226
if(putchar(*cp++) == EOF)
usr.bin/locate/locate/fastfind.c
194
for (; c != EOF; ) {
usr.bin/locate/locate/fastfind.c
61
for (c = getc(fp), count = 0; c != EOF; size++) {
usr.bin/login/login.c
816
if (ch == EOF) {
usr.bin/login/login.c
859
while ((ch = fgetc(f)) != EOF && !motdinterrupt)
usr.bin/login/login.c
862
if (ch != EOF || ferror(f)) {
usr.bin/look/look.c
299
if (putchar(*front) == EOF)
usr.bin/look/look.c
301
if (putchar('\n') == EOF)
usr.bin/m4/eval.c
447
while ((c = gpbc()) != '\n' && c != EOF)
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/main.c
299
if (t == EOF || (unsigned char)t != (unsigned char)*token) {
usr.bin/m4/main.c
309
#define LOOK_AHEAD(t, token) (t != EOF && \
usr.bin/m4/main.c
342
} else if (l == EOF) {
usr.bin/m4/main.c
368
if (t == EOF)
usr.bin/m4/main.c
412
} else if (t == EOF) {
usr.bin/m4/main.c
481
if (t == EOF)
usr.bin/m4/main.c
548
if (c != EOF)
usr.bin/m4/manual_tokenizer.c
1223
return EOF;
usr.bin/m4/manual_tokenizer.c
605
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
usr.bin/m4/manual_tokenizer.c
609
if ( c == EOF && ferror( yyin ) ) \
usr.bin/m4/misc.c
235
while ((c = getc(outfile[n])) != EOF)
usr.bin/m4/misc.c
355
if (f->c == EOF)
usr.bin/m4/misc.c
356
return EOF;
usr.bin/m4/misc.c
388
f->c = EOF;
usr.bin/m4/misc.c
86
if (c == 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
110
if (putc(c, otf) == 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
122
if (c == EOF)
usr.bin/mail/quit.c
218
while ((c = getc(abuf)) != EOF)
usr.bin/mail/quit.c
265
while (c != EOF) {
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
470
while (c != EOF) {
usr.bin/mail/tty.c
154
if (c == EOF || c == '\n')
usr.bin/mail/tty.c
162
if (c == EOF && ferror(stdin)) {
usr.bin/mkcsmapper/yacc.y
691
while ((ch = getopt(argc, argv, "do:mp")) != EOF) {
usr.bin/mkstr/mkstr.c
136
if (c == EOF)
usr.bin/mkstr/mkstr.c
182
if (c == EOF)
usr.bin/mkstr/mkstr.c
317
while (--rmdr > 0 && (c = getc(file)) != 0 && c != EOF)
usr.bin/patch/pch.c
523
} while (c != EOF && c != '\n');
usr.bin/patch/pch.c
527
if (c != EOF)
usr.bin/pkill/pkill.c
635
while (ch != '\n' && ch != EOF)
usr.bin/pr/egetopt.c
110
return (EOF);
usr.bin/pr/egetopt.c
86
return (EOF);
usr.bin/pr/egetopt.c
96
return (EOF);
usr.bin/pr/pr.c
1009
if ((col > lim) && (ungetc(ch, inf) == EOF))
usr.bin/pr/pr.c
1027
while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) {
usr.bin/pr/pr.c
1034
if (ch == EOF) {
usr.bin/pr/pr.c
1057
while ((ch = getc(inf)) != EOF) {
usr.bin/pr/pr.c
1129
if (putchar(ochar) == EOF) {
usr.bin/pr/pr.c
1140
if (putchar(' ') == EOF) {
usr.bin/pr/pr.c
1150
if (putchar(*buf++) == EOF) {
usr.bin/pr/pr.c
1174
if (putchar(ochar) == EOF) {
usr.bin/pr/pr.c
1184
if (putchar(' ') == EOF) {
usr.bin/pr/pr.c
1207
if ((putchar('\n') == EOF) || (dspace && (putchar('\n') == EOF))) {
usr.bin/pr/pr.c
1230
while ((c = getc(inf)) != EOF) {
usr.bin/pr/pr.c
1234
if (c == EOF) {
usr.bin/pr/pr.c
1417
if ((putchar('\n') == EOF) || (putchar('\n') == EOF)) {
usr.bin/pr/pr.c
1454
((dspace && (putchar('\n') == EOF)) ||
usr.bin/pr/pr.c
1455
(putchar('\n') == EOF))) {
usr.bin/pr/pr.c
146
while ((pch = getc(ttyfp)) != '\n' && pch != EOF)
usr.bin/pr/pr.c
1463
if (putchar('\f') == EOF) {
usr.bin/pr/pr.c
1486
if ((incomp && (putchar('\n') == EOF)) ||
usr.bin/pr/pr.c
1487
(putchar('\f') == EOF)) {
usr.bin/pr/pr.c
1495
if (putchar('\n') == EOF) {
usr.bin/pr/pr.c
985
int ch = EOF;
usr.bin/pr/pr.c
995
while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) {
usr.bin/rs/rs.c
176
} while (get_line() != EOF);
usr.bin/rs/rs.c
351
c = EOF;
usr.bin/rs/rs.c
353
if ((c = getchar()) == EOF || c == '\n')
usr.bin/sdiff/sdiff.c
408
while (parsecmd(diffpipe, file1, file2) != EOF)
usr.bin/sdiff/sdiff.c
469
} while (ch1 != EOF && ch2 != EOF && ch1 == ch2);
usr.bin/sdiff/sdiff.c
480
if (ch1 != EOF || ch2 != EOF) {
usr.bin/sdiff/sdiff.c
504
if (ch == EOF)
usr.bin/sdiff/sdiff.c
722
return (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/sed/process.c
636
} else if (wc != L'\0' && (c = wctob(wc)) != EOF &&
usr.bin/sort/bwstring.c
530
if (c == EOF) {
usr.bin/sort/sort.c
1005
if (cr == EOF)
usr.bin/strfile/strfile.c
376
#define IS_END(ch,nf) (ch == EOF || (ch == (unsigned char)Delimch && nf))
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/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
183
if (putchar(ch) == EOF)
usr.bin/tail/forward.c
251
while ((ch = getc(file->fp)) != EOF) {
usr.bin/tail/forward.c
257
if (putchar(ch) == 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
151
if (c == EOF) break;
usr.bin/tip/cmds.c
426
if (c == EOF)
usr.bin/tip/tip.c
332
while ((*p = getchar()) != EOF && *p != '\n' && --sz > 0)
usr.bin/tip/tip.c
380
if (i == EOF)
usr.bin/tip/tip.c
397
if (i == EOF)
usr.bin/tip/tip.c
425
if (i == EOF)
usr.bin/top/top.c
338
while ((i = getopt(ac, av, "CDSIMTabcinqtuvs:d:U:o:m:")) != EOF)
usr.bin/tsort/tsort.c
151
while (c != EOF && isspace(c))
usr.bin/tsort/tsort.c
153
if (c == EOF)
usr.bin/tsort/tsort.c
164
} while (c != EOF && !isspace(c));
usr.bin/ul/ul.c
486
return (putwchar(c) != WEOF ? c : EOF);
usr.bin/unifdef/unifdef.c
700
if (fputs(tline, output) == EOF)
usr.bin/unifdef/unifdef.c
706
if (lnblank && fputs(newline, output) == EOF)
usr.bin/unifdef/unifdef.c
712
if (debugging && fflush(output) == EOF)
usr.bin/unifdef/unifdef.c
742
if (output != NULL && (ferror(output) || fclose(output) == EOF))
usr.bin/unvis/unvis.c
102
while ((c = getc(fp)) != EOF) {
usr.bin/usbhidaction/usbhidaction.c
271
if (c != EOF)
usr.bin/uudecode/uudecode.c
152
if (v == EOF) {
usr.bin/uudecode/uudecode.c
158
if (v == EOF)
usr.bin/uudecode/uudecode.c
180
return (EOF);
usr.bin/uuencode/uuencode.c
171
if (fputc(ch, output) == EOF)
usr.bin/uuencode/uuencode.c
182
if (fputc(ch, output) == EOF)
usr.bin/uuencode/uuencode.c
186
if (fputc(ch, output) == EOF)
usr.bin/uuencode/uuencode.c
190
if (fputc(ch, output) == EOF)
usr.bin/uuencode/uuencode.c
194
if (fputc(ch, output) == EOF)
usr.bin/uuencode/uuencode.c
197
if (fputc('\n', output) == EOF)
usr.bin/what/what.c
89
while ((c = getchar()) != EOF) {
usr.bin/what/what.c
99
while ((c = getchar()) != EOF && c && c != '"' &&
usr.bin/window/scanner.c
115
case EOF:
usr.bin/window/scanner.c
247
if (c == '\n' || c == EOF) {
usr.bin/window/scanner.c
292
case EOF:
usr.bin/window/scanner.c
340
case EOF:
usr.bin/window/scanner.c
365
case EOF:
usr.bin/window/scanner.c
55
if (cx.x_bol && c != EOF) {
usr.bin/window/scanner.c
557
case EOF:
usr.bin/window/scanner.c
66
return EOF;
usr.bin/window/scanner.c
75
if (c == EOF)
usr.bin/window/scanner.c
76
return EOF;
usr.bin/window/scanner.c
85
return EOF;
usr.bin/write/write.c
277
#define PUTC(c) if (putchar(c) == EOF) err(1, NULL);
usr.bin/xargs/xargs.c
317
case EOF:
usr.bin/xargs/xargs.c
401
if (xp == endxp || p > ebp || ch == EOF ||
usr.bin/xargs/xargs.c
412
if (ch == EOF || foundeof) {
usr.bin/xargs/xargs.c
439
if (!insingle && !indouble && (ch = getchar()) == EOF) {
usr.bin/xstr/xstr.c
317
while (--rmdr > 0 && (c = xgetc(file)) != 0 && c != EOF)
usr.bin/xstr/xstr.c
394
if (fclose(mesgwrit) == EOF)
usr.bin/yes/yes.c
45
while (puts(str) != EOF)
usr.sbin/authpf/authpf.c
423
} while (fputs(buf, stdout) != EOF && !feof(f));
usr.sbin/authpf/authpf.c
555
while (fputs(tmp, stdout) != EOF && !feof(f)) {
usr.sbin/bootparamd/bootparamd/bootparamd.c
238
while ( ! ( ch == '\n' && pch != '\\') && ch != EOF) {
usr.sbin/bootparamd/bootparamd/bootparamd.c
342
while ( ! ( ch == '\n' && pch != '\\') && ch != EOF) {
usr.sbin/cdcontrol/cdcontrol.c
200
case EOF:
usr.sbin/ckdist/ckdist.c
197
if ((c = fgetc(fp)) != EOF) {
usr.sbin/config/main.c
280
while ((ch = getc(fp)) != EOF)
usr.sbin/config/main.c
283
if (ch == EOF)
usr.sbin/config/main.c
284
return((char *)EOF);
usr.sbin/config/main.c
299
while ((ch = getc(fp)) != EOF) {
usr.sbin/config/main.c
305
if (ch == EOF)
usr.sbin/config/main.c
306
return((char *)EOF);
usr.sbin/config/main.c
325
while ((ch = getc(fp)) != EOF)
usr.sbin/config/main.c
328
if (ch == EOF)
usr.sbin/config/main.c
329
return((char *)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
364
if (ch != EOF)
usr.sbin/config/main.c
368
if (ch == EOF)
usr.sbin/config/main.c
369
return((char *)EOF);
usr.sbin/config/main.c
410
while (EOF != (i = getc(fi))) {
usr.sbin/config/mkheaders.c
155
if ((inw = get_word(inf)) == NULL || inw == (char *)EOF)
usr.sbin/config/mkheaders.c
157
if ((inw = get_word(inf)) == NULL || inw == (char *)EOF)
usr.sbin/config/mkheaders.c
161
if (cp == NULL || cp == (char *)EOF)
usr.sbin/config/mkheaders.c
169
if (cp == (char *)EOF)
usr.sbin/config/mkmakefile.c
256
if (wd == (char *)EOF) {
usr.sbin/config/mkmakefile.c
284
while (((wd = get_word(fp)) != (char *)EOF) && wd)
usr.sbin/config/mkmakefile.c
53
if (word == (char *)EOF) \
usr.sbin/config/mkmakefile.c
63
if (word == (char *)EOF) \
usr.sbin/config/mkoptions.c
166
if ((inw = get_word(inf)) == NULL || inw == (char *)EOF)
usr.sbin/config/mkoptions.c
169
if ((inw = get_word(inf)) == NULL || inw == (char *)EOF)
usr.sbin/config/mkoptions.c
173
if ((cp = get_word(inf)) == NULL || cp == (char *)EOF)
usr.sbin/config/mkoptions.c
204
if (cp == (char *)EOF)
usr.sbin/config/mkoptions.c
296
if (wd == (char *)EOF) {
usr.sbin/config/mkoptions.c
323
while (((wd = get_word(fp)) != (char *)EOF) && wd != NULL)
usr.sbin/config/mkoptions.c
329
if (val == (char *)EOF)
usr.sbin/cron/cron/cron.h
103
while (c!='\t' && c!=' ' && c!='\n' && c != EOF) \
usr.sbin/cron/cron/cron.h
107
do {c = get_char(f);} while (c != '\n' && c != EOF);
usr.sbin/cron/cron/do_command.c
416
if (ch != EOF) {
usr.sbin/cron/cron/do_command.c
483
while (EOF != (ch = getc(in))) {
usr.sbin/cron/crontab/crontab.c
241
if (EOF == ch)
usr.sbin/cron/crontab/crontab.c
247
while (EOF != (ch = get_char(f)))
usr.sbin/cron/crontab/crontab.c
250
if (EOF == ch)
usr.sbin/cron/crontab/crontab.c
254
while (EOF != (ch = get_char(f)))
usr.sbin/cron/crontab/crontab.c
269
while (ch != '\n' && ch != EOF)
usr.sbin/cron/crontab/crontab.c
345
if (EOF == ch)
usr.sbin/cron/crontab/crontab.c
351
while (EOF != (ch = get_char(f)))
usr.sbin/cron/crontab/crontab.c
354
if (EOF == ch)
usr.sbin/cron/crontab/crontab.c
360
if (EOF != ch)
usr.sbin/cron/crontab/crontab.c
361
while (EOF != (ch = get_char(f)))
usr.sbin/cron/crontab/crontab.c
520
while (EOF != (ch = get_char(NewCrontab)))
usr.sbin/cron/crontab/crontab.c
583
if (fclose(tmp) == EOF) {
usr.sbin/cron/lib/entry.c
112
if (ch == EOF)
usr.sbin/cron/lib/entry.c
191
if (ch == EOF) {
usr.sbin/cron/lib/entry.c
200
if (ch == EOF) {
usr.sbin/cron/lib/entry.c
210
if (ch == EOF) {
usr.sbin/cron/lib/entry.c
222
if (ch == EOF) {
usr.sbin/cron/lib/entry.c
232
if (ch == EOF) {
usr.sbin/cron/lib/entry.c
244
if (ch == EOF) {
usr.sbin/cron/lib/entry.c
271
if (ch == EOF) {
usr.sbin/cron/lib/entry.c
399
if (ch == EOF) {
usr.sbin/cron/lib/entry.c
422
while (ch != EOF && ch != '\n')
usr.sbin/cron/lib/entry.c
493
if (ch == EOF)
usr.sbin/cron/lib/entry.c
494
return EOF;
usr.sbin/cron/lib/entry.c
496
if (EOF == (ch = get_number(&num1, low, names, ch, file)))
usr.sbin/cron/lib/entry.c
497
return EOF;
usr.sbin/cron/lib/entry.c
502
if (EOF == set_element(bits, low, high, num1))
usr.sbin/cron/lib/entry.c
503
return EOF;
usr.sbin/cron/lib/entry.c
509
if (ch == EOF)
usr.sbin/cron/lib/entry.c
510
return EOF;
usr.sbin/cron/lib/entry.c
515
if (ch == EOF)
usr.sbin/cron/lib/entry.c
516
return EOF;
usr.sbin/cron/lib/entry.c
526
if (ch == EOF)
usr.sbin/cron/lib/entry.c
527
return EOF;
usr.sbin/cron/lib/entry.c
535
if (ch == EOF || num3 == 0)
usr.sbin/cron/lib/entry.c
536
return EOF;
usr.sbin/cron/lib/entry.c
549
if (EOF == set_element(bits, low, high, i))
usr.sbin/cron/lib/entry.c
550
return EOF;
usr.sbin/cron/lib/entry.c
575
return EOF;
usr.sbin/cron/lib/entry.c
586
return EOF;
usr.sbin/cron/lib/entry.c
610
return EOF;
usr.sbin/cron/lib/entry.c
620
return EOF;
usr.sbin/cron/lib/env.c
143
if (EOF == get_string(envstr, MAX_ENVSTR, f, "\n"))
usr.sbin/cron/lib/misc.c
311
while (EOF != (ch = get_char(file)) && !strchr(terms, ch)) {
usr.sbin/cron/lib/misc.c
332
while (EOF != (ch = get_char(file))) {
usr.sbin/cron/lib/misc.c
339
if (ch == EOF)
usr.sbin/cron/lib/misc.c
352
while (ch != '\n' && ch != EOF)
usr.sbin/cron/lib/misc.c
359
if (ch != EOF)
usr.sbin/installer/dfuibe_installer/fn_zonetab.c
55
while (--len > 0 && (i = getc(f)) != EOF)
usr.sbin/installer/dfuibe_installer/fn_zonetab.c
58
return((i == EOF && buf == cs) ? NULL : buf);
usr.sbin/lpr/common_source/common.c
78
if (c == EOF)
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.ru/koi2855/koi2855.c
80
while ((c = getchar()) != EOF) {
usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c
80
while ((c = getchar()) != EOF) {
usr.sbin/lpr/filters/lpf.c
119
case EOF:
usr.sbin/lpr/lpd/printjob.c
1467
while ((i = getc(fp)) != EOF)
usr.sbin/makefs/mtree.c
1074
if (c == EOF) {
usr.sbin/makefs/mtree.c
307
while (c != EOF && strchr(cs, c) != NULL)
usr.sbin/makefs/mtree.c
309
if (c != EOF) {
usr.sbin/makefs/mtree.c
322
while (c != EOF && strchr(cs, c) == NULL)
usr.sbin/makefs/mtree.c
324
if (c != EOF) {
usr.sbin/makefs/mtree.c
349
case EOF:
usr.sbin/makefs/walk.c
327
if (fclose(fp) == EOF)
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
2360
if (fclose(f) == EOF)
usr.sbin/newsyslog/newsyslog.c
2551
while ((c = getc(src)) != EOF) {
usr.sbin/newsyslog/newsyslog.c
2552
if ((putc(c, dst)) == EOF)
usr.sbin/pfctl/parse.y
5463
if ((c = getc(file->stream)) == EOF) {
usr.sbin/pfctl/parse.y
5465
if (popfile() == EOF)
usr.sbin/pfctl/parse.y
5466
return (EOF);
usr.sbin/pfctl/parse.y
5482
while (c == EOF) {
usr.sbin/pfctl/parse.y
5483
if (popfile() == EOF)
usr.sbin/pfctl/parse.y
5484
return (EOF);
usr.sbin/pfctl/parse.y
5493
if (c == EOF)
usr.sbin/pfctl/parse.y
5494
return (EOF);
usr.sbin/pfctl/parse.y
5503
return (EOF);
usr.sbin/pfctl/parse.y
5521
if (c == EOF)
usr.sbin/pfctl/parse.y
5542
while ((c = lgetc(0)) != '\n' && c != EOF)
usr.sbin/pfctl/parse.y
5546
if ((c = lgetc(0)) == EOF)
usr.sbin/pfctl/parse.y
5576
if ((c = lgetc(quotec)) == EOF)
usr.sbin/pfctl/parse.y
5582
if ((next = lgetc(quotec)) == EOF)
usr.sbin/pfctl/parse.y
5638
} while ((c = lgetc(0)) != EOF && isdigit(c));
usr.sbin/pfctl/parse.y
5642
if (c == EOF || allowed_to_end_number(c)) {
usr.sbin/pfctl/parse.y
5677
} while ((c = lgetc(0)) != EOF && (allowed_in_string(c)));
usr.sbin/pfctl/parse.y
5689
if (c == EOF)
usr.sbin/pfctl/parse.y
5763
return (EOF);
usr.sbin/ppp/ipcp.c
307
if (fclose(fp) == EOF) {
usr.sbin/pw/edgroup.c
194
if (fflush(outfp) != EOF) {
usr.sbin/pw/edgroup.c
209
if (fflush(infp) == EOF || ferror(infp))
usr.sbin/pw/fileupd.c
115
while ((ch = fgetc(infp)) != EOF) {
usr.sbin/pw/fileupd.c
165
if (fflush(outfp) == EOF)
usr.sbin/pw/fileupd.c
184
if (fflush(infp) == EOF || ferror(infp))
usr.sbin/pw/pw_conf.c
244
while ((ch = fgetc(fp)) != '\n' && ch != EOF);
usr.sbin/pw/pw_conf.c
509
return fclose(fp) != EOF;
usr.sbin/pwd_mkdb/pwd_mkdb.c
585
if (fclose(oldfp) == EOF)
usr.sbin/pwd_mkdb/pwd_mkdb.c
616
if (fclose(fp) == EOF)
usr.sbin/quot/quot.c
452
while ((c = getchar()) != EOF && (c < '0' || c > '9'))
usr.sbin/quot/quot.c
453
while ((c = getchar()) != EOF && c != '\n');
usr.sbin/quot/quot.c
467
while (c != EOF && c != '\n') {
usr.sbin/quot/quot.c
477
while ((c = getchar()) != EOF && c != '\n');
usr.sbin/quot/quot.c
479
if (c == EOF)
usr.sbin/route6d/misc/cksum.c
44
while (scanf("%x", &i) != EOF) {
usr.sbin/sysvipcd/sysvipcd.c
235
return (EOF);
usr.sbin/sysvipcd/sysvipcd.c
313
if (r == EOF) {
usr.sbin/zic/zic.c
623
while ((c = getc(fp)) != EOF)