Symbol: fgets
bin/pax/ftree.c
274
if (fgets(farray[0], PAXPATHLEN+1, stdin) == NULL)
bin/pax/tty_subs.c
115
if ((--len <= 0) || (ttyinf == NULL) || (fgets(str,len,ttyinf) == NULL))
bin/sh/mknodes.c
265
while (fgets(line, sizeof line, patfile) != NULL) {
bin/sh/mknodes.c
420
if (fgets(line, 1024, infp) == NULL)
crypto/libressl/apps/openssl/ca.c
1294
if (fgets(answer, sizeof answer - 1, stdin) ==
crypto/libressl/apps/openssl/ca.c
2210
if (!fgets(answer, sizeof(answer) - 1, stdin)) {
crypto/libressl/apps/openssl/enc.c
398
if (!fgets(buf, sizeof buf, infile)) {
crypto/libressl/apps/openssl/openssl.c
499
if (!fgets(p, n, stdin))
crypto/libressl/apps/openssl/req.c
1467
if (!fgets(buf, sizeof buf, stdin))
crypto/libressl/apps/openssl/req.c
1520
if (!fgets(buf, sizeof buf, stdin))
crypto/libressl/apps/openssl/speed.c
2086
while (fgets(buf, sizeof buf, f)) {
crypto/libressl/crypto/bio/bss_file.c
303
if (!fgets(buf, size,(FILE *)bp->ptr))
crypto/libressl/crypto/ui/ui_openssl.c
234
if (!fgets(buf, SIZE, in))
crypto/libressl/crypto/ui/ui_openssl.c
263
p = fgets(result, maxsize, tty_in);
crypto/openssh/auth-pam.c
1154
if (fgets(input, sizeof input, stdin) == NULL)
crypto/openssh/auth-rhosts.c
85
while (fgets(buf, sizeof(buf), f)) {
crypto/openssh/clientloop.c
406
if (f && fgets(line, sizeof(line), f) &&
crypto/openssh/moduli.c
510
while (fgets(lp, QLINESIZE + 1, f) != NULL)
crypto/openssh/moduli.c
622
while (fgets(lp, QLINESIZE + 1, in) != NULL && count_in < end_lineno) {
crypto/openssh/session.c
1285
while (fgets(buf, sizeof(buf), f))
crypto/openssh/session.c
792
while (fgets(buf, sizeof(buf), f))
crypto/openssh/sftp.c
2310
if (fgets(cmd, sizeof(cmd), infile) == NULL) {
crypto/openssh/ssh-keygen.c
1585
if (!fgets(new_comment, sizeof(new_comment), stdin)) {
crypto/openssh/ssh-keygen.c
248
if (fgets(yesno, sizeof(yesno), stdin) == NULL)
crypto/openssh/ssh-keygen.c
305
if (fgets(buf, sizeof(buf), stdin) == NULL)
crypto/openssh/ssh-keygen.c
3282
if (fgets(yesno, sizeof(yesno), stdin) == NULL)
games/arithmetic/arithmetic.c
231
if (!fgets(line, sizeof(line), stdin)) {
games/atc/main.c
225
if (fgets(line, sizeof(line), fp) == NULL) {
games/atc/main.c
251
while (fgets(line, sizeof(line), fp) != NULL) {
games/atc/main.c
286
while (fgets(line, sizeof(line), fp) != NULL) {
games/banner/banner.c
1064
if (fgets(message, MAXMSG, stdin) == NULL) {
games/battlestar/cypher.c
407
fgets(buffer, 10, stdin);
games/battlestar/cypher.c
411
fgets(buffer, 10, stdin);
games/battlestar/cypher.c
415
fgets(buffer, 10, stdin);
games/battlestar/cypher.c
419
fgets(buffer, 10, stdin);
games/battlestar/cypher.c
423
fgets(buffer, 10, stdin);
games/battlestar/cypher.c
427
fgets(buffer, 10, stdin);
games/battlestar/cypher.c
431
fgets(buffer, 10, stdin);
games/battlestar/cypher.c
435
fgets(buffer, 10, stdin);
games/battlestar/getcom.c
40
if (fgets(buf, size, stdin) == NULL) {
games/bcd/bcd.c
166
while (fgets(cardline, sizeof(cardline), stdin))
games/bcd/bcd.c
262
if (fgets(tmp, sizeof(tmp), stdin) == NULL)
games/bcd/bcd.c
265
if (fgets(tmp, sizeof(tmp), stdin) == NULL)
games/bcd/bcd.c
269
if (fgets(lines[i], sizeof(lines[i]), stdin) == NULL)
games/bcd/bcd.c
272
if (fgets(tmp, sizeof(tmp), stdin) == NULL)
games/boggle/boggle/help.c
62
if (fgets(buf, sizeof(buf), fp) == NULL) {
games/boggle/boggle/word.c
181
while (fgets(buf, sizeof(buf), fp) != NULL) {
games/boggle/mkdict/mkdict.c
74
fgets(buf[current], MAXWORDLEN + 1, stdin) != NULL; ++nwords) {
games/ching/printching/printching.c
217
if (fgets(textln, sizeof(textln), chingf) == NULL) {
games/ching/printching/printching.c
241
if (fgets(textln, sizeof(textln), chingf) == NULL) {
games/ching/printching/printching.c
285
if (fgets(textln, sizeof(textln), chingf) == NULL)
games/ching/printching/printching.c
305
if (fgets(textln, sizeof(textln), chingf) == NULL)
games/ching/printching/printching.c
96
hexptr = fgets(hexstr, 6+1, stdin);
games/factor/factor.c
124
if (fgets(buf, sizeof(buf), stdin) == NULL) {
games/fish/fish.c
147
if (fgets(buf, sizeof(buf), stdin) == NULL)
games/fortune/fortune/fortune.c
1326
while (fgets(sp, Fort_len, fp->inf) != NULL)
games/fortune/fortune/fortune.c
217
for (Fort_len = 0; fgets(line, sizeof line, fp->inf) != NULL &&
games/fortune/fortune/fortune.c
253
while (fgets(line, sizeof line, Fortfile->inf) != NULL &&
games/hack/hack.pager.c
150
while (fgets(bufr, CO - 1, fp) && (!strip || *bufr == '\t') && !got_intrup) {
games/hack/hack.pager.c
96
while (fgets(buf, BUFSZ, fp))
games/hack/hack.rumors.c
108
if (!fgets(line, sizeof(line), rumf))
games/hack/hack.rumors.c
96
if (!fgets(line, sizeof(line), rumf))
games/hangman/getword.c
59
if (fgets(Word, BUFSIZ, inf) == NULL)
games/hangman/getword.c
61
if (fgets(Word, BUFSIZ, inf) == NULL)
games/hunt/hunt/hunt.c
656
if (fgets(name, sizeof name, stdin) == NULL)
games/mille/varpush.c
81
fgets(buf, sizeof(buf), stdin);
games/monop/execute.c
244
fgets(buf, sizeof(buf), stdin);
games/monop/execute.c
333
fgets(buf, sizeof(buf), stdin);
games/monop/execute.c
375
while (fgets(readbuf, sizeof(readbuf), inf)) {
games/monop/getinp.c
54
fgets(buf, sizeof(buf), stdin);
games/monop/misc.c
99
fgets(buf, sizeof(buf), stdin);
games/monop/monop.c
272
fgets(buf, sizeof(buf), stdin);
games/number/number.c
96
fgets(line, sizeof(line), stdin) != NULL; first = 0) {
games/phantasia/main.c
666
&& fgets(Databuf, SZ_DATABUF, fp) != NULL) {
games/phantasia/main.c
745
&& fgets(Databuf, SZ_DATABUF, fp) != NULL) {
games/phantasia/misc.c
1130
if (fgets(Databuf, SZ_DATABUF, Messagefp) != NULL)
games/phantasia/setup.c
132
while (fgets(Databuf, SZ_DATABUF, fp) != NULL) {
games/ppt/ppt.c
89
while (fgets(buf, sizeof(buf), stdin) != NULL) {
games/primes/primes.c
169
if (fgets(buf, sizeof(buf), stdin) == NULL) {
games/wump/wump.c
224
if (!fgets(answer, sizeof(answer), stdin))
games/wump/wump.c
331
if (!fgets(answer, sizeof(answer), stdin))
games/wump/wump.c
641
if (!fgets(buf, sizeof(buf), stdin))
include/stdio.h
221
char *fgets(char * __restrict, int, FILE * __restrict);
lib/libbluetooth/bluetooth.c
112
if ((p = fgets(buf, sizeof(buf), hostf)) == NULL) {
lib/libbluetooth/bluetooth.c
218
if ((p = fgets(buf, sizeof(buf), protof)) == NULL)
lib/libc/db/test/btree.tests/main.c
196
if ((lbuf = fgets(&buf[0], 512, ifp)) == NULL)
lib/libc/db/test/dbtest.c
157
(p = fgets(buf, sizeof(buf), stdin)) != NULL; ++lineno) {
lib/libc/db/test/hash.tests/tcreat3.c
74
while ( fgets(wp1, 8192, stdin) &&
lib/libc/db/test/hash.tests/tcreat3.c
75
fgets(wp2, 8192, stdin) &&
lib/libc/db/test/hash.tests/tdel.c
76
while ( fgets(wp1, 8192, stdin) &&
lib/libc/db/test/hash.tests/tdel.c
77
fgets(wp2, 8192, stdin) &&
lib/libc/db/test/hash.tests/tdel.c
98
while ( fgets(wp1, 8192, fp) &&
lib/libc/db/test/hash.tests/tdel.c
99
fgets(wp2, 8192, fp) &&
lib/libc/db/test/hash.tests/thash4.c
102
while ( fgets(wp1, 256, fp) &&
lib/libc/db/test/hash.tests/thash4.c
103
fgets(wp2, 8192, fp) &&
lib/libc/db/test/hash.tests/thash4.c
79
while ( fgets(wp1, 8192, stdin) &&
lib/libc/db/test/hash.tests/thash4.c
80
fgets(wp2, 8192, stdin) &&
lib/libc/db/test/hash.tests/tread2.c
75
while ( fgets(wp1, 8192, stdin) &&
lib/libc/db/test/hash.tests/tread2.c
76
fgets(wp2, 8192, stdin) &&
lib/libc/db/test/hash.tests/tverify.c
75
while ( fgets(wp1, 8192, stdin) &&
lib/libc/db/test/hash.tests/tverify.c
76
fgets(wp2, 8192, stdin) &&
lib/libc/gen/fstab.c
118
if (!(p = fgets(line, sizeof(line), _fs_fp)))
lib/libc/gen/getdevpath.c
131
while (fgets(buf, sizeof(buf), fp) != NULL) {
lib/libc/gen/getnetgrent.c
532
while (_netgr_yp_enabled || fgets(line, LINSIZ, netf) != NULL) {
lib/libc/gen/getnetgrent.c
551
while (fgets(line, LINSIZ, netf) != NULL) {
lib/libc/gen/getnetgrent.c
603
if (fgets(line, LINSIZ, netf)) {
lib/libc/gen/getttyent.c
105
if (!fgets(&line[i], lbsize - i, tf))
lib/libc/gen/getttyent.c
82
if (!fgets(p = line, lbsize, tf)) {
lib/libc/gen/getusershell.c
123
while (fgets(cp, MAXPATHLEN + 1, fp) != NULL) {
lib/libc/net/ether_addr.c
157
while (fgets(buf,BUFSIZ,fp)) {
lib/libc/net/ether_addr.c
206
while (fgets(buf,BUFSIZ,fp)) {
lib/libc/net/eui64.c
232
while (fgets(buf,BUFSIZ,fp)) {
lib/libc/net/eui64.c
282
while (fgets(buf,BUFSIZ,fp)) {
lib/libc/net/getaddrinfo.c
2117
if (!(p = fgets(hostbuf, sizeof hostbuf, *hostf)))
lib/libc/net/gethostbyht.c
100
if (!(p = fgets(hostbuf, sizeof hostbuf, hed->hostf))) {
lib/libc/net/getnetbyht.c
91
p = fgets(line, sizeof line, ned->netf);
lib/libc/net/getprotoent.c
368
if ((p = fgets(ped->line, sizeof ped->line, ped->fp)) == NULL)
lib/libc/net/hesiod.c
287
while (fgets(buf, sizeof(buf), fp) != NULL) {
lib/libc/net/rcmd.c
581
while (fgets(buf, sizeof(buf), hostf)) {
lib/libc/resolv/res_init.c
309
while (fgets(buf, sizeof(buf), fp) != NULL) {
lib/libc/resolv/res_query.c
411
while (fgets(buf, sizeof(buf), fp)) {
lib/libc/rpc/getnetconfig.c
286
if (fgets(stringp, MAXNETCONFIGLINE, nc_file) == NULL) {
lib/libc/rpc/getnetconfig.c
447
if ((stringp = fgets(linep, MAXNETCONFIGLINE, file)) == NULL) {
lib/libc/rpc/getpublickey.c
100
res = fgets(buf, sizeof(buf), fd);
lib/libc/rpc/netnamer.c
262
res = fgets(buf, sizeof(buf), fd);
lib/libcrypt/crypt-blowfish.c
333
fgets(salt + 6, 94, stdin);
lib/libcrypt/crypt-blowfish.c
337
fgets(blubber, 73, stdin);
lib/libpam/modules/pam_login_access/login_access.c
67
while (!match && fgets(line, sizeof(line), fp)) {
lib/libtcplay/tcplay.c
687
if ((fgets(buf, sizeof(buf), stdin)) == NULL) {
lib/libtcplay/tcplay.c
726
if ((fgets(buf, sizeof(buf), stdin)) == NULL) {
lib/libtelnet/read_password.c
101
while (!fgets(s, max, stdin));
lib/libtelnet/read_password.c
108
if (!fgets(key_string, sizeof(key_string), stdin)) {
lib/libu4bhid/usage.c
88
if (fgets(line, sizeof line, f) == NULL)
libexec/comsat/comsat.c
235
while (fgets(line, sizeof(line), fi) != NULL) {
libexec/dma/conf.c
109
if (fgets(line, sizeof(line), a) == NULL)
libexec/dma/conf.c
167
if (fgets(line, sizeof(line), conf) == NULL)
libexec/dma/local.c
210
if (fgets(line, sizeof(line), it->mailf) == NULL)
libexec/dma/mail.c
119
if (fgets(line, sizeof(line), it->mailf) == NULL)
libexec/dma/net.c
579
if (fgets(line, sizeof(line), it->mailf) == NULL)
libexec/dma/spool.c
174
if (fgets(line, sizeof(line), queuef) == NULL || line[0] == 0)
libexec/dma/util.c
81
s = fgets(name, sizeof(name), fp);
libexec/fingerd/fingerd.c
98
if (!fgets(line, sizeof(line), stdin))
libexec/ftpd/ftpd.c
1550
while (fgets(line, sizeof(line), fd) != NULL) {
libexec/ftpd/ftpd.c
584
while (fgets(line, sizeof(line), fd) != NULL) {
libexec/ftpd/ftpd.c
600
while (fgets(line, sizeof(line), fd) != NULL) {
libexec/mknetid/mknetid.c
181
while(fgets(readbuf, LINSIZ, pfp)) {
libexec/mknetid/mknetid.c
243
while ((ptr = fgets(readbuf, LINSIZ, hfp))) {
libexec/mknetid/mknetid.c
279
while(fgets(readbuf, LINSIZ, nfp)) {
libexec/mknetid/parse_group.c
108
if (!fgets(line, sizeof(line), _gr_fp))
libexec/rbootd/parseconf.c
120
while (fgets(line, C_LINELEN, fp) != NULL) {
libexec/revnetgroup/parse_netgroup.c
337
if (fgets(line, LINSIZ, netf)) {
libexec/revnetgroup/revnetgroup.c
119
while (fgets(readbuf, LINSIZ, fp)) {
libexec/revnetgroup/revnetgroup.c
124
fgets((char *)&readbuf[strlen(readbuf) - 2],
sbin/camcontrol/camcontrol.c
3024
if (fgets(str, sizeof(str), stdin) != NULL) {
sbin/camcontrol/camcontrol.c
3065
if (fgets(str, sizeof(str), stdin) != NULL) {
sbin/ccdconfig/ccdconfig.c
338
while (fgets(line, sizeof(line), f) != NULL) {
sbin/disklabel32/disklabel.c
826
while (fgets(line, sizeof(line) - 1, f)) {
sbin/disklabel64/disklabel64.c
873
while (fgets(line, sizeof(line) - 1, f)) {
sbin/dump/itime.c
229
if ( (fgets(tbuf, sizeof (tbuf), df)) != tbuf)
sbin/dump/optr.c
85
if (fgets(replybuffer, 63, mytty) == NULL) {
sbin/fdisk/fdisk.c
1339
if (fgets(buf, sizeof(buf), fp) == NULL)
sbin/fdisk/fdisk.c
953
if (fgets(lbuf, LBUF, stdin) == NULL)
sbin/fdisk/fdisk.c
973
if (fgets(lbuf, LBUF, stdin) == NULL)
sbin/growfs/growfs.c
2089
fgets(reply, (int)sizeof(reply), stdin);
sbin/hammer/cmd_cleanup.c
788
if (fgets(buf, sizeof(buf), fp) == NULL) {
sbin/hammer/cmd_mirror.c
1692
while (fgets(buf, sizeof(buf), fp) != NULL) {
sbin/hammer/misc.c
71
if (fgets(buf, sizeof(buf), stdin) == NULL)
sbin/hammer2/cmd_debug.c
208
if (fgets(buf, sizeof(buf), stdin) != NULL) {
sbin/hammer2/cmd_service.c
602
while (fp && fgets(buf, sizeof(buf), fp) != NULL) {
sbin/ip6fw/ip6fw.c
1361
while (fgets(buf, BUFSIZ, f)) {
sbin/ipfw/ipfw2.c
4234
while (fgets(buf, BUFSIZ, f)) {
sbin/ipfw3/ipfw3.c
1184
while (fgets(buf, BUFSIZ, f)) {
sbin/iscontrol/config.c
212
sp = fgets(line, sizeof line, fd);
sbin/ldconfig/elfhints.c
154
while (fgets(buf, sizeof buf, fp) != NULL) {
sbin/mountd/mountd.c
2392
while (fgets(str, STRSIZ, mlfile) != NULL) {
sbin/rconfig/server.c
161
while (fgets(buf, sizeof(buf), fi) != NULL) {
sbin/rconfig/subs.c
205
if (fgets(buf, sizeof(buf), *pfi) != NULL) {
sbin/rconfig/subs.c
219
if (rc == *lenp && fgets(buf, sizeof(buf), *pfi)) {
sbin/restore/interactive.c
315
if (fgets(input, BUFSIZ, terminal) == NULL) {
sbin/restore/tape.c
344
if (fgets(buf, BUFSIZ, terminal) == NULL)
sbin/restore/tape.c
362
if (fgets(buf, BUFSIZ, terminal) == NULL)
sbin/routed/parms.c
180
if (0 == fgets(lbuf, sizeof(lbuf), fp))
sbin/savecore/savecore.c
146
if (fgets(buf, sizeof buf, fp) == NULL) {
sbin/savecore/savecore.c
199
if (fgets(buf, sizeof(buf), fp) == NULL)
sbin/shutdown/shutdown.c
202
if (!fgets(p, endp - p + 1, stdin))
sbin/vinum/commands.c
124
configline = fgets(buffer, BUFSIZE, dfd);
sbin/vinum/commands.c
288
fgets(reply, sizeof(reply), stdin);
stand/boot/common/do_dloader.c
243
while (fgets(input, sizeof(input), fd) != NULL) {
stand/lib/stand.h
260
extern char *fgets(char *, int, int);
sys/kern/subr_alist.c
1022
if (fgets(buf, sizeof(buf), stdin) == NULL)
sys/kern/subr_blist.c
1077
if (fgets(buf, sizeof(buf), stdin) == NULL)
sys/libkern/linux_idr.c
84
while (fgets(buf, sizeof(buf), stdin) != NULL) {
test/crypto/cryptoapi/cryptoapi_test.c
314
fgets(linebuf, sizeof(linebuf), f);
test/crypto/cryptoapi/cryptoapi_test.c
320
for (int lineno = 1; fgets(linebuf, sizeof(linebuf), f); ++lineno) {
test/debug/checkhammer.c
114
while (fgets(buf, sizeof(buf), fp) != NULL) {
test/debug/checkhammer.c
90
while (fgets(buf, sizeof(buf), fp) != NULL) {
test/debug/posixlock.c
63
while (fgets(buf, sizeof(buf), stdin) != NULL) {
test/stress/webstress/webstress.c
214
while (fgets(buf, sizeof(buf), fi) != NULL) {
test/stress/webstress/webstress.c
360
while (fgets(buf, sizeof(buf), fp) != NULL)
tools/regression/lib/libc-regex/testregex.c
1046
if (!(b = fgets(s, e - s, fp)))
tools/tools/ath/athprom/athprom.c
151
if (fgets(line, sizeof(line), stdin) != NULL &&
tools/tools/drm/radeon/mkregtable/mkregtable.c
651
if (fgets(buf, 1024, file) == NULL) {
tools/tools/drm/radeon/mkregtable/mkregtable.c
663
if (fgets(buf, 1024, file) == NULL) {
tools/tools/netrate/netperf/tcp_cc/tcp_cc.c
130
while (fgets(line, sizeof(line), fp) != NULL) {
tools/tools/netrate/netperf/tcp_stream/tcp_stream.c
258
while (fgets(line, sizeof(line), fp) != NULL) {
tools/tools/usbtest/usbtest.c
124
if (fgets(buf, sizeof(buf), stdin) == NULL)
tools/tools/usbtest/usbtest.c
142
if (fgets(ptr, size, stdin) == NULL)
tools/tools/usbtest/usbtest.c
163
if (fgets(buf, sizeof(buf), stdin) == NULL)
usr.bin/at/perm.c
70
while(fgets(buffer, len+2, fp) != NULL)
usr.bin/chat/chat.c
332
while (fgets(buf, STR_LEN, cfp) != NULL) {
usr.bin/crunch/crunchgen/crunchgen.c
301
while (fgets(line, MAXLINELEN, cf) != NULL) {
usr.bin/crunch/crunchgen/crunchgen.c
786
while (fgets(line, MAXLINELEN, f)) {
usr.bin/crunch/crunchide/crunchide.c
189
while(fgets(symbol, sizeof(symbol), keepf)) {
usr.bin/csplit/csplit.c
279
again: if (fgets(lbuf, sizeof(lbuf), src) == NULL) {
usr.bin/ctags/ctags.c
175
while (fgets(lbuf, LINE_MAX, oldf)) {
usr.bin/ctags/fortran.c
53
if (!fgets(lbuf, sizeof(lbuf), inf))
usr.bin/ctags/lisp.c
54
if (!fgets(lbuf, sizeof(lbuf), inf))
usr.bin/dc/inout.c
98
if (fgets(buf, BUFSIZ, src->u.stream) == NULL)
usr.bin/dsynth/config.c
366
while (fgets(buf, sizeof(buf), fp) != NULL) {
usr.bin/dsynth/config.c
562
while (fgets(buf, sizeof(buf), fp) != NULL) {
usr.bin/dsynth/subs.c
382
if (fgets(buf, sizeof(buf), stdin) == NULL)
usr.bin/fetch/fetch.c
404
if (fgets(URL->user, sizeof URL->user, stdin) == NULL)
usr.bin/fetch/fetch.c
416
nopwd = (fgets(URL->pwd, sizeof URL->pwd, stdin) == NULL);
usr.bin/fetch/fetch.c
420
nopwd = (fgets(URL->pwd, sizeof URL->pwd, stdin) == NULL);
usr.bin/find/misc.c
89
if (fgets(resp, sizeof(resp), stdin) == NULL)
usr.bin/finger/finger.c
293
while(fgets(conf_alias, sizeof(conf_alias), conf_fp) != NULL) {
usr.bin/flame_graph/process.c
63
while (fgets(buf, sizeof(buf), stdin) != NULL) {
usr.bin/from/from.c
104
for (newline = 1; fgets(buf, sizeof(buf), stdin);) {
usr.bin/gzip/gzip.c
1116
(void)fgets(ans, sizeof(ans) - 1, stdin);
usr.bin/hexdump/parse.c
55
while (fgets(buf, sizeof(buf), fp)) {
usr.bin/indent/args.c
338
while ((fgets(line, BUFSIZ, file)) != NULL) {
usr.bin/ktrdump/ktrdump.c
781
while (fgets(buf, sizeof(buf), fp) != NULL) {
usr.bin/leave/leave.c
70
cp = fgets(buf, sizeof(buf), stdin);
usr.bin/limits/limits.c
683
char * p = fgets(buf, sizeof buf, fp)==NULL ? NULL : strtok(buf, " \t");
usr.bin/locate/bigram/locate.bigram.c
69
while (fgets(path, sizeof(buf2), stdin) != NULL) {
usr.bin/locate/code/locate.code.c
140
(void)fgets(bigrams, BGBUFSIZE + 1, fp);
usr.bin/locate/code/locate.code.c
161
while (fgets(path, sizeof(buf2), stdin) != NULL) {
usr.bin/lock/lock.c
145
if (!fgets(s, sizeof(s), stdin) || *s == '\n')
usr.bin/lock/lock.c
152
fgets(s1, sizeof(s1), stdin);
usr.bin/lock/lock.c
206
if (!fgets(s, sizeof(s), stdin)) {
usr.bin/logger/logger.c
150
while (fgets(buf, sizeof(buf), stdin) != NULL)
usr.bin/login/login_fbtab.c
95
while (fgets(buf, sizeof(buf), fp)) {
usr.bin/mail/edit.c
85
if (fgets(buf, sizeof(buf), stdin) == 0)
usr.bin/mail/fio.c
186
if (fgets(linebuf, linesize, ibuf) == NULL)
usr.bin/mail/fio.c
94
if (fgets(linebuf, sizeof(linebuf), ibuf) == NULL) {
usr.bin/mail/send.c
184
if (fgets(line, sizeof(line), ibuf) == NULL) {
usr.bin/mail/send.c
79
if (fgets(line, sizeof(line), ibuf) == NULL)
usr.bin/ministat/ministat.c
476
while (fgets(buf, sizeof buf, f) != NULL) {
usr.bin/msgs/msgs.c
352
fgets(inbuf, sizeof inbuf, stdin);
usr.bin/msgs/msgs.c
362
fgets(inbuf, sizeof inbuf, stdin);
usr.bin/msgs/msgs.c
494
&& fgets(inbuf, sizeof inbuf, newmsg)
usr.bin/msgs/msgs.c
633
while (fgets(inbuf, sizeof inbuf, newmsg)) {
usr.bin/msgs/msgs.c
697
while (fgets(lbuf, sizeof lbuf, f))
usr.bin/msgs/msgs.c
724
(void) fgets(inbuf, sizeof inbuf, stdin);
usr.bin/msgs/msgs.c
812
if (fgets(inbuf, sizeof inbuf, infile)) {
usr.bin/msgs/msgs.c
855
while (fgets(inbuf, sizeof inbuf, infile)
usr.bin/newkey/update.c
278
while (fgets(line, sizeof (line), rf)) {
usr.bin/patch/inp.c
358
if (fgets(p, maxlen + 1, ifp) == NULL) {
usr.bin/pctrack/pctrack.c
267
while (fgets(buf, sizeof(buf), fp) != NULL) {
usr.bin/pkill/pkill.c
828
if (fgets(line, sizeof(line), fh) == NULL) {
usr.bin/pr/pr.c
1528
while (fgets(buf, BUFSIZ, err) != NULL)
usr.bin/rpcgen/rpc_scan.c
155
if (!fgets(curline, MAXLINESIZE, fin)) {
usr.bin/rwall/rwall.c
169
while (fgets(lbuf, sizeof(lbuf), stdin))
usr.bin/sed/main.c
261
if ((p = fgets(buf, n, f)) != NULL) {
usr.bin/split/split.c
243
while (fgets(bfr, MAXBSIZE, infp) != NULL) {
usr.bin/strfile/strfile.c
170
sp = fgets(string, 256, inf);
usr.bin/systat/symbols.c
98
while (fgets(buf, sizeof(buf), fp) != NULL) {
usr.bin/telnet/authenc.c
93
res = fgets(result, length, stdin);
usr.bin/telnet/commands.c
1261
(void) fgets(buf, sizeof(buf), stdin);
usr.bin/telnet/commands.c
2128
(void) fgets(&line[strlen(line)], sizeof(line) - strlen(line), stdin);
usr.bin/telnet/commands.c
2553
if (fgets(line, sizeof(line), stdin) == NULL) {
usr.bin/telnet/commands.c
2659
if (fgets(line, sizeof(line), rcfile) == NULL)
usr.bin/tftp/main.c
234
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
331
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
412
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
486
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
512
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
605
if (fgets(line, sizeof line , stdin) == 0) {
usr.bin/tip/acu.c
117
while (fgets(string, sizeof(string), fd) != NULL) {
usr.bin/tip/value.c
75
while (fgets(file, sizeof(file)-1, f) != NULL) {
usr.bin/tset/term.c
136
if (fgets(answer, sizeof(answer), stdin) == NULL) {
usr.bin/unifdef/unifdef.c
1109
if (fgets(tline, MAXLINE, input) == NULL) {
usr.bin/unifdef/unifdef.c
845
if (fgets(tline + len, MAXLINE - len, input) == NULL) {
usr.bin/units/units.c
153
if (!fgets(line, sizeof(line), unitfile))
usr.bin/unstr/unstr.c
120
sp = fgets(buf, sizeof(buf), Inf);
usr.bin/unzip/unzip.c
425
if (fgets(buf, sizeof(buf), stdin) == NULL) {
usr.bin/usbhidaction/usbhidaction.c
295
if (fgets(buf, sizeof buf, f) == NULL)
usr.bin/usbhidaction/usbhidaction.c
301
if (fgets(p, sizeof buf - strlen(buf), f) == NULL)
usr.bin/uudecode/uudecode.c
179
if (fgets(buf, sizeof(buf), infp) == NULL)
usr.bin/uudecode/uudecode.c
300
if (fgets(buf, size, infp) != NULL)
usr.bin/wall/wall.c
221
while (fgets(lbuf, sizeof(lbuf), stdin))
usr.bin/whereis/whereis.c
296
if (fgets(buf, BUFSIZ - 1, p) == NULL ||
usr.bin/whereis/whereis.c
477
while (fgets(buf, BUFSIZ - 1, p) != NULL) {
usr.bin/whereis/whereis.c
590
(fgets(buf, BUFSIZ - 1, p)) != NULL) {
usr.bin/write/write.c
255
while (fgets(line, sizeof(line), stdin) != NULL)
usr.bin/xstr/xstr.c
163
if (fgets(linebuf, sizeof linebuf, stdin) == NULL) {
usr.bin/xstr/xstr.c
248
if (fgets(linebuf, sizeof linebuf, stdin)
usr.sbin/arp/arp.c
236
while(fgets(line, 100, fp) != NULL) {
usr.sbin/asf/asf.c
244
while (fgets(buf, MAXLINE, kldstat)) {
usr.sbin/asf/asf.c
282
while (fgets(ocbuf, MAXLINE, objcopy)) {
usr.sbin/authpf/authpf.c
349
if (fgets(buf, sizeof(buf), f) == NULL) {
usr.sbin/authpf/authpf.c
418
if (fgets(buf, sizeof(buf), f) == NULL) {
usr.sbin/authpf/authpf.c
556
if (fgets(tmp, sizeof(tmp), f) == NULL) {
usr.sbin/bthcid/parser.y
310
while ((p = fgets(buf, sizeof(buf), f)) != NULL) {
usr.sbin/burncd/burncd.c
241
while (fgets(file_buf, sizeof(file_buf), fp) != NULL) {
usr.sbin/cdcontrol/cdcontrol.c
1180
if (! fgets (buf, sizeof (buf), stdin)) {
usr.sbin/ckdist/ckdist.c
282
while (fgets(buf, sizeof(buf), fp)) {
usr.sbin/ckdist/ckdist.c
330
for (cnt = -1; fgets(buf, sizeof(buf), fp); cnt++) {
usr.sbin/config/mkmakefile.c
174
while (fgets(line, BUFSIZ, ifp) != 0) {
usr.sbin/cron/crontab/crontab.c
457
fgets(q, sizeof q, stdin);
usr.sbin/cron/lib/misc.c
374
while (fgets(line, MAX_TEMPSTR, file)) {
usr.sbin/dntpd/main.c
414
while (fgets(buf, sizeof(buf), fi) != NULL) {
usr.sbin/dntpd/main.c
449
if (fgets(buf, sizeof(buf), fi) != NULL) {
usr.sbin/edquota/edquota.c
517
fgets(line1, sizeof(line1), fd);
usr.sbin/edquota/edquota.c
518
while (fgets(line1, sizeof(line1), fd) != NULL &&
usr.sbin/edquota/edquota.c
519
fgets(line2, sizeof(line2), fd) != NULL) {
usr.sbin/edquota/edquota.c
650
fgets(line1, sizeof(line1), fd);
usr.sbin/edquota/edquota.c
651
fgets(line1, sizeof(line1), fd);
usr.sbin/edquota/edquota.c
652
while (fgets(line1, sizeof(line1), fd) != NULL) {
usr.sbin/efidp/efidp.c
144
while (fgets(buffer, sizeof(buffer), stdin)) {
usr.sbin/efidp/efidp.c
174
while (fgets(buffer, sizeof(buffer), stdin)) {
usr.sbin/efidp/efidp.c
225
while (fgets(buffer, sizeof(buffer), stdin)) {
usr.sbin/fdcontrol/fdcontrol.c
43
fgets(b, 80, stdin);
usr.sbin/fdformat/fdformat.c
159
if (fgets(reply, sizeof(reply) - 1, stdin) == NULL)
usr.sbin/inetd/inetd.c
1849
if (fgets(line, sizeof (line), fd) == NULL)
usr.sbin/installer/dfuibe_installer/flow.c
1440
while (fgets(line, 255, p) != NULL)
usr.sbin/installer/dfuibe_installer/fn_configure.c
1320
while (fgets(line, 256, crypttab) != NULL) {
usr.sbin/installer/dfuibe_installer/fn_configure.c
942
while (fgets(line, 255, p) != NULL)
usr.sbin/installer/dfuibe_installer/fn_install.c
185
while(fgets(line, 256, sources_conf) != NULL && lines < 63) {
usr.sbin/installer/dfuife_curses/curses_util.c
211
while (fgets(line, 79, f) != NULL) {
usr.sbin/installer/libaura/buffer.c
220
while (fgets(line, 1023, f) != NULL) {
usr.sbin/installer/libaura/buffer.c
248
while (fgets(line, 1023, p) != NULL) {
usr.sbin/installer/libaura/popen.c
274
if (fgets(buf, len, p) == NULL) {
usr.sbin/installer/libaura/test.c
58
fgets(k, 255, stdin);
usr.sbin/installer/libaura/test.c
75
fgets(v, 255, stdin);
usr.sbin/installer/libinstaller/commands.c
337
fgets(cline, 255, cmdout);
usr.sbin/installer/libinstaller/confed.c
220
while (fgets(line, sizeof(line), f) != NULL) {
usr.sbin/installer/libinstaller/confed.c
254
while (fgets(line, sizeof(line), f) != NULL) {
usr.sbin/installer/libinstaller/diskutil.c
1006
while (fgets(line, 255, p) != NULL) {
usr.sbin/installer/libinstaller/diskutil.c
978
while (fgets(line, 255, p) != NULL) {
usr.sbin/installer/libinstaller/survey.c
67
if (fgets(line, size, f) == NULL)
usr.sbin/ip6addrctl/ip6addrctl.c
215
while(fgets(line, sizeof(line), fp)) {
usr.sbin/kbdmap/kbdmap.c
210
while (fgets(line, sizeof(line), fp)) {
usr.sbin/kbdmap/kbdmap.c
382
if (fgets(choice, sizeof(choice), fp) != NULL) {
usr.sbin/kbdmap/kbdmap.c
589
while (fgets(buffer, sizeof(buffer), fp)) {
usr.sbin/lpr/chkprintcap/skimprintcap.c
242
curline = fgets(buff, sizeof(buff), pc_file);
usr.sbin/lpr/chkprintcap/skimprintcap.c
99
curline = fgets(buff, sizeof(buff), pc_file);
usr.sbin/lpr/common_source/ctlinfo.c
804
strp = fgets(cpriv->cji_buff, cpriv->cji_buffsize, cpriv->cji_fstream);
usr.sbin/lpr/lpc/lpc.c
179
if (fgets(cmdline, MAX_CMDLINE, stdin) == 0)
usr.sbin/lpr/lpd/printjob.c
1242
while (fgets(buf, sizeof(buf), errfp))
usr.sbin/lpr/lpd/printjob.c
833
while (fgets(buf, sizeof(buf), fp))
usr.sbin/lpr/lpd/recvjob.c
335
if (fgets(lin, 80, fp) == NULL) {
usr.sbin/lpr/pac/pac.c
207
while (fgets(linebuf, BUFSIZ, acctf) != NULL) {
usr.sbin/mtest/mtest.c
39
while( fgets( line, 79, stdin ) != NULL )
usr.sbin/mtree/getid.c
218
if (!fgets(grline, sizeof(grline), _gr_fp)) {
usr.sbin/mtree/getid.c
366
if (!fgets(pwline, sizeof(pwline), _pw_fp)) {
usr.sbin/ndp/ndp.c
337
while(fgets(line, 100, fp) != NULL) {
usr.sbin/newsyslog/newsyslog.c
1086
while (fgets(line, BUFSIZ, cf)) {
usr.sbin/newsyslog/newsyslog.c
2281
if (fgets(line, BUFSIZ, f) == NULL) {
usr.sbin/ngctl/main.c
186
for (num = 1; fgets(line, sizeof(line), fp) != NULL; num++) {
usr.sbin/ngctl/main.c
258
if (fgets(buf, sizeof(buf), stdin) == NULL) {
usr.sbin/nscd/parser.c
354
while ((res == 0) && (fgets(buffer, sizeof(buffer) - 1, fin) != NULL)) {
usr.sbin/pciconf/pciconf.c
663
if (fgets(buf, sizeof(buf), db) == NULL)
usr.sbin/ppp/auth.c
134
while (fgets(buff, sizeof buff, fp)) {
usr.sbin/ppp/auth.c
195
while (fgets(buff, sizeof buff, fp)) {
usr.sbin/ppp/auth.c
262
while (fgets(buff, sizeof buff, fp)) {
usr.sbin/ppp/auth.c
316
while (fgets(buff, sizeof buff, fp)) {
usr.sbin/ppp/libradius/radlib.c
493
while (fgets(buf, sizeof buf, fp) != NULL) {
usr.sbin/ppp/systems.c
292
while (fgets(buf, buflen-1, fp)) {
usr.sbin/pw/edgroup.c
104
if (fgets(line + l, linelen - l, infp) == NULL)
usr.sbin/pw/edgroup.c
202
while (fgets(outl, outlen, outfp) != NULL)
usr.sbin/pw/edgroup.c
94
while (fgets(line, linelen, infp) != NULL) {
usr.sbin/pw/fileupd.c
107
while (fgets(line, linesize, infp) != NULL) {
usr.sbin/pw/fileupd.c
123
if (fgets(line + l, linesize - l, infp) == NULL)
usr.sbin/pw/fileupd.c
174
while (fgets(line, linesize, outfp) != NULL)
usr.sbin/pw/pw_conf.c
237
while (fgets(buf, buflen, fp) != NULL) {
usr.sbin/pw/pw_conf.c
248
if (fgets(buf + l, buflen - l, fp) == NULL)
usr.sbin/pw/pw_user.c
774
while (fgets(line, sizeof(line), fp) != NULL) {
usr.sbin/pw/pw_vpw.c
212
while (!done && fgets(grtmp, grlen, grp_fp) != NULL)
usr.sbin/pw/pw_vpw.c
223
if (fgets(grtmp + l, grlen - l, grp_fp) == NULL)
usr.sbin/pw/pw_vpw.c
66
while (!done && fgets(pwtmp, sizeof pwtmp, pwd_fp) != NULL)
usr.sbin/pw/pw_vpw.c
73
while (fgets(pwtmp, sizeof pwtmp, pwd_fp) != NULL && strchr(pwtmp, '\n')==NULL)
usr.sbin/rpc.umntall/mounttab.c
89
while (fgets(str, STRSIZ, mtabfile) != NULL) {
usr.sbin/rpc.ypupdated/update.c
268
while (fgets(line, sizeof (line), rf)) {
usr.sbin/sliplogin/sliplogin.c
158
while (fgets(loginargs, sizeof(loginargs) - 1, fp)) {
usr.sbin/sliplogin/sliplogin.c
219
while (fgets(buf, sizeof(buf) - 1, fp) != NULL) {
usr.sbin/sshlockout/sshlockout.c
249
while (fgets(buf, sizeof(buf), stdin) != NULL) {
usr.sbin/syslogd/syslogd.c
1612
while (fgets(cline, sizeof(cline), cf) != NULL) {
usr.sbin/tzsetup/tzsetup.c
967
if (fgets(zoneinfo, sizeof(zoneinfo), f) != NULL) {
usr.sbin/vidcontrol/decode.c
47
if (!fgets(temp, sizeof(temp), fd))
usr.sbin/vidcontrol/decode.c
53
if (!fgets(p = temp, sizeof(temp), fd))
usr.sbin/vidcontrol/decode.c
95
if (!fgets(temp, sizeof(temp), fd) || strcmp(temp, "end\n"))
usr.sbin/vnconfig/vnconfig.c
602
while (fgets(buf, LINESIZE, f) != NULL) {
usr.sbin/watch/watch.c
272
if (fgets(buf, DEV_NAME_LEN - 1, stdin)) {
usr.sbin/yp_mkdb/yp_mkdb.c
250
while (fgets((char *)&buf, sizeof(buf), ifp)) {
usr.sbin/yp_mkdb/yp_mkdb.c
260
fgets((char *)&buf[strlen(buf) - 1],
usr.sbin/ypserv/yp_access.c
137
while (fgets(linebuf, LINEBUFSZ, fp)) {
usr.sbin/zic/zic.c
766
if (fgets(buf, sizeof buf, fp) != buf)