Symbol: feof
bin/ed/io.c
125
while (((c = getc(fp)) != EOF || (!feof(fp) &&
bin/ksh/history.c
821
if (!feof(histfh) && ferror(histfh)) {
bin/pax/ftree.c
552
if ((bp = strchr(buf, '\n')) != NULL || feof(stdin)) {
distrib/special/more/more.c
1199
while (!feof(file)) {
distrib/special/more/more.c
1243
if (feof(file)) {
games/atc/graphics.c
68
if ((c = getchar()) == EOF && feof(stdin))
games/battlestar/getcom.c
45
if (feof(stdin))
games/boggle/boggle/bog.c
279
if (feof(stdin))
games/boggle/boggle/bog.c
487
if (dictfp != NULL && feof(dictfp)) /* Special case for z's */
games/monop/getinp.c
55
if ((feof(stdin))) {
games/monop/monop.c
99
if ((feof(stdin))) {
games/ppt/ppt.c
108
if (!feof(stdin))
games/sail/pl_main.c
140
while (getchar() != '\n' && !feof(stdin))
games/sail/pl_main.c
142
if (feof(stdin)) {
games/sail/pl_main.c
149
while (getchar() != '\n' && !feof(stdin))
games/sail/pl_main.c
76
while (getchar() != '\n' && !feof(stdin))
include/stdio.h
132
int feof(FILE *);
lib/libc/asr/asr.c
757
if (feof(cf) == 0) {
lib/libc/gen/getcap.c
318
eof = feof(fp);
lib/libc/gen/getgrent.c
340
if (feof(_gr_fp) && !ferror(_gr_fp))
lib/libc/hidden/stdio.h
145
#define feof(p) (!__isthreaded ? __sfeof(p) : (feof)(p))
lib/libc/hidden/stdio.h
55
PROTO_NORMAL(feof);
lib/libc/stdio/feof.c
52
DEF_STRONG(feof);
lib/libcrypto/bio/bss_file.c
228
ret = (long)feof(fp);
lib/libcrypto/ui/ui_openssl.c
267
if (feof(tty_in))
lib/libcurses/tinfo/comp_scan.c
324
? (feof(yyin) && (bufptr == NULL || *bufptr == '\0'))
lib/libexpat/examples/element_declarations.c
219
done = feof(stdin);
lib/libexpat/examples/elements.c
107
done = feof(stdin);
lib/libexpat/examples/outline.c
110
done = feof(stdin);
libexec/fingerd/fingerd.c
142
feof(stdin) ? "EOF" : strerror(errno));
regress/lib/libc/fread/fread.c
129
if (!feof(fp)) {
regress/lib/libc/orientation/orientation_test.c
137
TEST_UNCHANGED(feof(f));
regress/lib/libc/stdio_threading/fgetln/fgetln_test.c
30
if (feof(file))
regress/lib/libc/stdio_threading/fgets/fgets_test.c
29
if (feof(file))
regress/lib/libc/stdio_threading/fputs/fputs_test.c
28
if (feof(file))
regress/lib/libc/stdio_threading/fread/fread_test.c
31
if (feof(file))
regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
28
if (feof(file))
regress/lib/libedit/chared/test_gets.c
50
return (*cp = getwchar()) != WEOF ? 1 : feof(stdin) ? 0 : -1;
regress/lib/libedit/chared/test_gets.c
71
while (feof(stdin) == 0) {
regress/lib/libedit/chared/test_gets.c
74
if (feof(stdin))
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_misc.c
40
ASSERT_INT_NE(feof(out), 0);
sbin/disklabel/editor.c
967
if (feof(stdin)) {
sbin/fsck_ext2fs/utilities.c
104
if (feof(stdin))
sbin/fsck_ffs/utilities.c
106
if (feof(stdin)) {
sbin/fsck_msdos/main.c
130
if (feof(stdin))
sbin/pfctl/pfctl_radix.c
571
while (isspace((unsigned char)next_ch) && !feof(fp))
sbin/pfctl/pfctl_radix.c
575
while (!feof(fp)) {
sbin/pfctl/pfctl_radix.c
583
if (feof(fp)) {
sbin/pfctl/pfctl_radix.c
591
} while (!feof(fp) && !isspace((unsigned char)next_ch));
sbin/pflogd/pflogd.c
441
while (!feof(fp)) {
sbin/restore/dirs.c
598
if (feof(mf))
sbin/restore/tape.c
351
if (fgets(buf, sizeof buf, terminal) == NULL || feof(terminal))
sbin/restore/utilities.c
335
if (feof(terminal))
sbin/unwind/libunbound/iterator/iter_hints.c
339
while(!feof(f)) {
sbin/unwind/libunbound/services/authzone.c
1491
while(!feof(in)) {
sbin/unwind/libunbound/validator/val_anchor.c
444
while(!feof(in)) {
usr.bin/bc/bc.y
948
if (yyin != NULL && feof(yyin))
usr.bin/chpass/edit.c
156
else if (!feof(fp)) {
usr.bin/cmp/special.c
85
if (feof(fp1)) {
usr.bin/cmp/special.c
86
if (!feof(fp2))
usr.bin/cmp/special.c
89
if (feof(fp2))
usr.bin/csplit/csplit.c
195
if (!feof(infile)) {
usr.bin/cu/command.c
160
while (!feof(f) && !ferror(f)) {
usr.bin/cvs/diff3.c
807
if (feof(fp[2]))
usr.bin/diff3/diff3prog.c
564
if (feof(fp[2]))
usr.bin/dig/dig.c
1850
if (feof(batchfp)) {
usr.bin/encrypt/encrypt.c
147
while (!feof(stdin) &&
usr.bin/ftp/ruserpass.c
276
if (feof(cfile) || ferror(cfile))
usr.bin/gprof/gprof.c
421
if (feof(pfile))
usr.bin/make/arch.c
409
if (n == 0 && feof(arch)) {
usr.bin/mg/dired.c
725
if (cp == NULL && !feof(fin)) { /* too long a line */
usr.bin/rcs/diff3.c
902
if (feof(fp[2]))
usr.bin/rcs/ident.c
101
if (feof(fp) || ferror(fp))
usr.bin/rcs/rcsutil.c
564
if (c == defc || c == '\n' || (c == EOF && feof(stdin)))
usr.bin/sdiff/edit.c
178
(ferror(file) || !feof(file))) {
usr.bin/sed/main.c
517
if (feof(infile)) {
usr.bin/sendbug/sendbug.c
142
while (!feof(frfp)) {
usr.bin/sendbug/sendbug.c
218
while (offset != -1 && !feof(dfp)) {
usr.bin/sendbug/sendbug.c
237
while (!feof(ifp)) {
usr.bin/sendbug/sendbug.c
623
while (!feof(ifp)) {
usr.bin/sort/bwstring.c
477
if (!feof(f))
usr.bin/sort/bwstring.c
493
if (!feof(f))
usr.bin/sort/bwstring.c
506
if (feof(f))
usr.bin/sort/bwstring.c
518
while (!feof(f)) {
usr.bin/sort/bwstring.c
542
while (!feof(f)) {
usr.bin/sort/file.c
630
if (feof(fr->file))
usr.bin/ssh/sshkey.c
1395
if (feof(f))
usr.bin/tail/forward.c
278
while (!feof(tf[0].fp) && (ch = getc(tf[0].fp)) != EOF)
usr.bin/tail/forward.c
294
while (!feof(fp) && (ch = getc(fp)) != EOF)
usr.bin/telnet/commands.c
2015
if (feof(stdin) || ferror(stdin))
usr.bin/tftp/main.c
790
if (feof(stdin))
usr.bin/tic/tic.c
429
if (feof(source)) {
usr.bin/tset/tset.c
175
if (feof(stdin) || ferror(stdin)) {
usr.bin/tsort/tsort.c
353
if (!feof(f))
usr.bin/tsort/tsort.c
394
if (!feof(f))
usr.bin/units/units.c
120
while (!feof(unitfile)) {
usr.bin/vi/ex/ex_util.c
86
if ((ch = getc(fp)) == EOF && !feof(fp)) {
usr.sbin/amd/amd/info_file.c
77
} while (size > 0 && !feof(fp));
usr.sbin/authpf/authpf.c
378
if (buf[len - 1] != '\n' && !feof(f)) {
usr.sbin/authpf/authpf.c
413
} while (!feof(f) && !ferror(f));
usr.sbin/authpf/authpf.c
444
} while (fputs(buf, stdout) != EOF && !feof(f));
usr.sbin/authpf/authpf.c
628
while (fputs(tmp, stdout) != EOF && !feof(f)) {
usr.sbin/config/main.c
784
for (i = 0; !feof(fp) && i < nnewopts && ret == 0; i++) {
usr.sbin/cron/entry.c
422
while (ch != '\n' && !feof(file))
usr.sbin/kvm_mkdb/nlist.c
174
if (feof(fp))
usr.sbin/lpd/printer.c
1365
while (!feof(fp)) {
usr.sbin/mailwrapper/mailwrapper.c
116
if (feof(config))
usr.sbin/makefs/cd9660/cd9660_write.c
406
while (!feof(rf)) {
usr.sbin/nsd/simdzone/src/generic/parser.h
320
parser->file->end_of_file = feof(parser->file->handle) != 0;
usr.sbin/repquota/repquota.c
188
if (feof(qf))
usr.sbin/smtpd/bounce.c
575
if (feof(s->msgfp)) {
usr.sbin/smtpd/compress_gzip.c
128
if (!feof(in))
usr.sbin/smtpd/crypto.c
101
if (!feof(in))
usr.sbin/smtpd/enqueue.c
405
if (feof(fp))
usr.sbin/smtpd/enqueue.c
483
} else if (feof(fin))
usr.sbin/smtpd/enqueue.c
589
if (feof(fin))
usr.sbin/smtpd/mda.c
442
if (feof(s->datafp)) {
usr.sbin/smtpd/mta_session.c
1453
if (feof(s->datafp)) {
usr.sbin/smtpd/smtp_client.c
862
if (feof(proto->mail->fp))
usr.sbin/smtpd/smtpc.c
389
if (feof(ifp))
usr.sbin/smtpd/table_proc.c
170
if (feof(priv->in))
usr.sbin/syslogd/syslogd.c
2553
if (!feof(cf))
usr.sbin/unbound/iterator/iter_hints.c
339
while(!feof(f)) {
usr.sbin/unbound/services/authzone.c
1491
while(!feof(in)) {
usr.sbin/unbound/smallapp/unbound-anchor.c
411
while(!feof(in)) {
usr.sbin/unbound/testcode/doqclient.c
2201
while(!feof(in)) {
usr.sbin/unbound/testcode/petal.c
534
if(in && feof(in) && red != 0) {
usr.sbin/unbound/testcode/petal.c
540
if(!in || feof(in)) {
usr.sbin/unbound/testcode/petal.c
555
} while(in && !feof(in) && !ferror(in));
usr.sbin/unbound/testcode/readzone.c
113
else while (!feof(in)) {
usr.sbin/unbound/testcode/signit.c
178
while(!feof(in)) {
usr.sbin/unbound/testcode/unitauth.c
698
while(!feof(i1) && !feof(i2)) {
usr.sbin/unbound/testcode/unitauth.c
703
if((!cp1 && !feof(i1)) || (!cp2 && !feof(i2)))
usr.sbin/unbound/testcode/unitauth.c
717
unit_assert(feof(i1) && feof(i2));
usr.sbin/unbound/validator/val_anchor.c
444
while(!feof(in)) {
usr.sbin/user/user.c
1351
if (cc > 0 && buf[cc - 1] != '\n' && !feof(from)) {
usr.sbin/user/user.c
1352
while (fgetc(from) != '\n' && !feof(from))
usr.sbin/user/user.c
1426
if (cc > 0 && buf[cc - 1] != '\n' && !feof(fp)) {
usr.sbin/user/user.c
1427
while (fgetc(fp) != '\n' && !feof(fp))
usr.sbin/user/user.c
510
if (cc > 0 && buf[cc - 1] != '\n' && !feof(from)) {
usr.sbin/user/user.c
511
while (fgetc(from) != '\n' && !feof(from))
usr.sbin/user/user.c
634
if (cc > 0 && buf[cc - 1] != '\n' && !feof(from)) {
usr.sbin/user/user.c
635
while (fgetc(from) != '\n' && !feof(from))
usr.sbin/ypserv/makedbm/makedbm.c
74
} while (size > 0 && !feof(fp));
usr.sbin/ypserv/mknetid/mknetid.c
92
} while (size > 0 && !feof(fp));
usr.sbin/ypserv/ypserv/acl.c
85
} while (size > 0 && !feof(fp));