bin/cat/cat.c
119
cook_buf(stdin, "stdin");
bin/cat/cat.c
120
clearerr(stdin);
bin/csh/csh.c
176
cshin = stdin;
bin/ed/buf.c
263
setvbuf(stdin, NULL, _IONBF, 0);
bin/ed/glbl.c
103
clearerr(stdin);
bin/ed/io.c
279
if (ferror(stdin)) {
bin/ed/io.c
282
clearerr(stdin);
bin/ed/io.c
286
clearerr(stdin);
bin/ed/main.c
1035
clearerr(stdin);
bin/ed/main.c
226
clearerr(stdin);
bin/ed/main.c
235
clearerr(stdin);
bin/ed/sub.c
105
clearerr(stdin);
bin/md5/md5.c
714
fp = stdin;
bin/md5/md5.c
737
if (fp != stdin)
bin/md5/md5.c
745
if (fp != stdin)
bin/md5/md5.c
751
if (fp == stdin)
bin/md5/md5.c
784
listfp = stdin;
bin/md5/md5.c
952
if (listfp != stdin)
bin/pax/ftree.c
550
if (fgets(buf, buflen, stdin) == NULL)
bin/pax/ftree.c
552
if ((bp = strchr(buf, '\n')) != NULL || feof(stdin)) {
bin/pax/options.c
1023
fp = stdin;
bin/pax/options.c
1103
fp = stdin;
bin/pax/options.c
1448
while ((str = get_line(stdin)) != NULL) {
bin/pax/options.c
1451
if (ferror(stdin)) {
distrib/special/more/more.c
269
f = stdin;
distrib/special/more/more.c
287
copy_file(stdin);
distrib/special/more/more.c
301
if (search(initbuf, stdin, 1) == 0 && noscroll)
distrib/special/more/more.c
304
skiplns(initline, stdin);
distrib/special/more/more.c
305
screen(stdin, left);
games/arithmetic/arithmetic.c
219
if (!fgets(line, sizeof(line), stdin)) {
games/atc/graphics.c
68
if ((c = getchar()) == EOF && feof(stdin))
games/atc/main.c
154
tcgetattr(fileno(stdin), &tty_start);
games/atc/main.c
160
tcsetattr(fileno(stdin), TCSADRAIN, &tty_new);
games/banner/banner.c
1159
if (isatty(fileno(stdin)))
games/banner/banner.c
1161
if (fgets(message, sizeof(message), stdin) == NULL)
games/battlestar/cypher.c
361
linelen = getline(&line, &linesize, stdin);
games/battlestar/cypher.c
63
if (fgets(buffer, sizeof(buffer), stdin) == NULL) {
games/battlestar/getcom.c
44
if (fgets(buf, size, stdin) == NULL) {
games/battlestar/getcom.c
45
if (feof(stdin))
games/battlestar/getcom.c
47
clearerr(stdin);
games/bcd/bcd.c
165
while (fgets(cardline, sizeof(cardline), stdin))
games/bcd/bcd.c
257
if (fgets(tmp, sizeof(tmp), stdin) == NULL)
games/bcd/bcd.c
260
if (fgets(tmp, sizeof(tmp), stdin) == NULL)
games/bcd/bcd.c
264
if (fgets(lines[i], sizeof(lines[i]), stdin) == NULL)
games/bcd/bcd.c
267
if (fgets(tmp, sizeof(tmp), stdin) == NULL)
games/boggle/boggle/bog.c
159
while ((p = batchword(stdin)) != NULL)
games/boggle/boggle/bog.c
198
flushin(stdin);
games/boggle/boggle/bog.c
279
if (feof(stdin))
games/boggle/boggle/bog.c
280
clearerr(stdin);
games/boggle/mkdict/mkdict.c
76
fgets(buf[current], MAXWORDLEN + 1, stdin) != NULL; ++nwords) {
games/boggle/mkdict/mkdict.c
79
while ((ch = getc(stdin)) != EOF && ch != '\n')
games/boggle/mkindex/mkindex.c
57
while (nextword(stdin, buf, &clen, &rlen) != NULL) {
games/factor/factor.c
104
if (fgets(buf, sizeof(buf), stdin) == NULL) {
games/factor/factor.c
105
if (ferror(stdin))
games/fish/fish.c
152
if (fgets(buf, sizeof(buf), stdin) == NULL)
games/fish/fish.c
433
if (!fgets(buf, sizeof(buf), stdin)) {
games/hack/hack.ioctl.c
77
(void) tcgetattr(fileno(stdin), &termios);
games/hack/hack.ioctl.c
83
(void) tcsetattr(fileno(stdin), TCSADRAIN, &termios);
games/hunt/hunt/hunt.c
644
if (fgets(name, sizeof name, stdin) == NULL)
games/mille/varpush.c
86
fgets(buf, sizeof(buf), stdin);
games/monop/getinp.c
54
fgets(buf, sizeof(buf), stdin);
games/monop/getinp.c
55
if ((feof(stdin))) {
games/monop/monop.c
98
fgets(buf, sizeof(buf), stdin);
games/monop/monop.c
99
if ((feof(stdin))) {
games/number/number.c
97
fgets(line, sizeof(line), stdin) != NULL; first = 0) {
games/ppt/ppt.c
108
if (!feof(stdin))
games/ppt/ppt.c
88
while (fgets(buf, sizeof(buf), stdin) != NULL) {
games/primes/primes.c
154
if (fgets(buf, sizeof(buf), stdin) == NULL) {
games/primes/primes.c
155
if (ferror(stdin))
games/quiz/quiz.c
285
if ((len = getline(&answer, &size, stdin)) == -1 ||
games/random/random.c
243
if (ferror(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
192
if (fgets(captain, sizeof captain, stdin) == NULL ||
games/sail/pl_main.c
76
while (getchar() != '\n' && !feof(stdin))
games/trek/computer.c
297
ungetc(i, stdin);
games/trek/getpar.c
230
ungetc(c, stdin);
games/trek/getpar.c
233
ungetc(c, stdin);
games/trek/getpar.c
248
ungetc('\n', stdin);
games/trek/getpar.c
267
ungetc(c, stdin);
games/trek/getpar.c
291
ungetc(c, stdin);
games/trek/torped.c
103
k = ungetc(getchar(), stdin);
games/wump/wump.c
249
(void)fpurge(stdin);
games/wump/wump.c
250
if (!fgets(answer, sizeof(answer), stdin))
games/wump/wump.c
253
(void)fpurge(stdin);
games/wump/wump.c
361
if (!fgets(answer, sizeof(answer), stdin))
games/wump/wump.c
449
if (!(p = strtok(fgets(answer, sizeof(answer), stdin),
games/wump/wump.c
794
if (!fgets(buf, sizeof(buf), stdin))
include/stdio.h
303
#define getchar() getc(stdin)
include/stdio.h
305
#define getchar_unlocked() getc_unlocked(stdin)
lib/libc/stdio/getchar.c
44
return (getc_unlocked(stdin));
lib/libc/stdio/getchar.c
58
return (getc(stdin));
lib/libc/stdio/getwchar.c
44
return fgetwc(stdin);
lib/libc/stdio/scanf.c
44
ret = vfscanf(stdin, fmt, ap);
lib/libc/stdio/vscanf.c
40
return (vfscanf(stdin, fmt, ap));
lib/libc/stdio/vwscanf.c
37
return (vfwscanf(stdin, fmt, ap));
lib/libc/stdio/wscanf.c
40
r = vfwscanf(stdin, fmt, ap);
lib/libcrypto/ui/ui_openssl.c
304
tty_in = stdin;
lib/libcrypto/ui/ui_openssl.c
348
if (tty_in != stdin)
lib/libcurses/base/lib_initscr.c
95
if (newterm(name, stdout, stdin) == 0) {
lib/libcurses/base/lib_newterm.c
184
FILE *_ifp = ifp ? ifp : stdin;
lib/libcurses/tinfo/captoinfo.c
1034
if (fgets(buf, sizeof(buf), stdin) == 0)
lib/libcurses/tinfo/lib_win32con.c
1227
_setmode(fileno(stdin), _O_BINARY);
lib/libcurses/tinfo/make_hash.c
286
for (n = 0; (n < tablesize) && fgets(buffer, BUFSIZ, stdin);) {
lib/libcurses/tinfo/make_keys.c
165
make_keys(stdin, stdout);
lib/libcurses/tty/hardscroll.c
363
if (fgets(line, sizeof(line), stdin) == (char *) NULL)
lib/libcurses/tty/hashmap.c
512
if (NC_ISATTY(fileno(stdin)))
lib/libcurses/tty/hashmap.c
520
if (fgets(line, sizeof(line), stdin) == (char *) NULL)
lib/libcurses/tty/lib_mvcur.c
1213
if (fgets(buf, sizeof(buf), stdin) == 0)
lib/libedit/TEST/tc1.c
136
el = el_init(*argv, stdin, stdout, stderr);
lib/libedit/filecomplete.c
504
if (getc(stdin) != 'y')
lib/libedit/readline.c
297
rl_instream = stdin;
lib/libexpat/examples/element_declarations.c
210
const size_t len = fread(buf, 1, BUFSIZ, stdin);
lib/libexpat/examples/element_declarations.c
212
if (ferror(stdin)) {
lib/libexpat/examples/element_declarations.c
218
done = feof(stdin);
lib/libexpat/examples/elements.c
101
if (ferror(stdin)) {
lib/libexpat/examples/elements.c
107
done = feof(stdin);
lib/libexpat/examples/elements.c
99
const size_t len = fread(buf, 1, BUFSIZ, stdin);
lib/libexpat/examples/outline.c
102
const size_t len = fread(buf, 1, BUFSIZ, stdin);
lib/libexpat/examples/outline.c
104
if (ferror(stdin)) {
lib/libexpat/examples/outline.c
110
done = feof(stdin);
lib/libpcap/savefile.c
108
fp = stdin;
lib/libpcap/savefile.c
119
if (fp != stdin)
lib/libskey/skeylogin.c
527
tgetline(fileno(stdin), pbuf, sizeof(pbuf), 120);
lib/libskey/skeylogin.c
529
(void)rewind(stdin);
lib/libskey/skeysubr.c
186
if (fgets(buf, n, stdin) == NULL)
lib/libskey/skeysubr.c
207
if (fgets(buf, n, stdin) == NULL)
lib/libskey/skeysubr.c
362
(void) tcgetattr(fileno(stdin), &term);
lib/libskey/skeysubr.c
365
(void) tcsetattr(fileno(stdin), TCSAFLUSH|TCSASOFT, &term);
lib/libskey/skeysubr.c
370
(void) tcsetattr(fileno(stdin), TCSAFLUSH|TCSASOFT, &term);
lib/libutil/fparseln.c
177
while ((ptr = fparseln(stdin, &size, &line, NULL,
libexec/fingerd/fingerd.c
139
if (fgets(line, sizeof(line), stdin) == NULL) {
libexec/fingerd/fingerd.c
142
feof(stdin) ? "EOF" : strerror(errno));
libexec/ftpd/ftpcmd.y
1114
while ((c = getc(stdin)) != EOF) {
libexec/ftpd/ftpcmd.y
1117
if ((c = getc(stdin)) != EOF) {
libexec/ftpd/ftpcmd.y
1122
c = getc(stdin);
libexec/ftpd/ftpcmd.y
1128
c = getc(stdin);
libexec/ftpd/ftpcmd.y
1147
while (c != '\n' && (c = getc(stdin)) != EOF)
libexec/ftpd/ftpd.c
2807
if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
libexec/mail.local/mail.local.c
130
while ((linelen = getline(&line, &linesize, stdin)) != -1) {
regress/lib/libc/arch/alpha/divremtest/divremtest.c
71
if (freopen(argv[0], "r", stdin) == NULL) {
regress/lib/libc/db/dbtest.c
123
if (strcmp(*argv, "-") && freopen(*argv, "r", stdin) == NULL)
regress/lib/libc/db/dbtest.c
156
(p = fgets(buf, sizeof(buf), stdin)) != NULL; ++lineno) {
regress/lib/libc/fnmatch/fnm_test.c
16
FILE *fp = stdin;
regress/lib/libc/glob/globtest.c
28
FILE *fp = stdin;
regress/lib/libc/orientation/orientation_test.c
193
TEST_NARROW_STD(stdin, getchar());
regress/lib/libc/orientation/orientation_test.c
194
TEST_NARROW_STD(stdin, getchar_unlocked());
regress/lib/libc/orientation/orientation_test.c
195
TEST_NARROW_STD(stdin, scanf("%s\n", buffer));
regress/lib/libc/orientation/orientation_test.c
237
TEST_WIDE_STD(stdin, getwchar());
regress/lib/libc/orientation/orientation_test.c
238
TEST_WIDE_STD(stdin, wscanf(L"%s\n", wbuffer));
regress/lib/libc/regex/main.c
75
regress(stdin);
regress/lib/libc/regex/split.c
173
while (fgets(buf, sizeof(buf), stdin) != NULL) {
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
31
if (ftrylockfile(stdin) == 0)
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
42
flockfile(stdin);
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
43
funlockfile(stdin);
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
57
flockfile(stdin);
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
58
flockfile(stdin);
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
71
funlockfile(stdin);
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
72
funlockfile(stdin);
regress/lib/libc/time/strptime/main.c
42
if (ferror(stdin))
regress/lib/libc/time/strptime/main.c
56
p = fgetln(stdin, &len);
regress/lib/libc/time/strptime/main.c
70
p = fgetln(stdin, &len);
regress/lib/libc/time/strptime/main.c
77
p = fgetln(stdin, &len);
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/lib/libedit/chared/test_gets.c
76
if (ferror(stdin)) {
regress/lib/libedit/chared/test_gets.c
78
clearerr(stdin);
regress/lib/libz/minigzip.c
533
SET_BINARY_MODE(stdin);
regress/lib/libz/minigzip.c
536
file = gzdopen(fileno(stdin), "rb");
regress/lib/libz/minigzip.c
542
gz_compress(stdin, file);
regress/usr.bin/mandoc/db/binedit/binedit.c
132
if (ferror(stdin))
regress/usr.bin/mandoc/db/binedit/binedit.c
73
if (fread(&i, sizeof(i), 1, stdin) != 1) {
regress/usr.bin/mandoc/db/binedit/binedit.c
74
if (ferror(stdin))
regress/usr.bin/mandoc/db/binedit/binedit.c
86
if (ferror(stdin))
regress/usr.sbin/httpd/patterns/patterns-tester.c
37
if (fgets(buf, len, stdin) == NULL)
sbin/disklabel/editor.c
1211
linelen = getline(&line, &linesize, stdin);
sbin/disklabel/editor.c
1870
cfile = stdin;
sbin/disklabel/editor.c
245
if (fgets(buf, sizeof(buf), stdin) == NULL) {
sbin/disklabel/editor.c
965
if (fgets(buf, sizeof(buf), stdin) == NULL) {
sbin/disklabel/editor.c
967
if (feof(stdin)) {
sbin/disklabel/editor.c
968
clearerr(stdin);
sbin/fdisk/misc.c
74
len = getline(&line, &sz, stdin);
sbin/fsck_ext2fs/utilities.c
103
while (c != '\n' && getc(stdin) != '\n')
sbin/fsck_ext2fs/utilities.c
104
if (feof(stdin))
sbin/fsck_ext2fs/utilities.c
98
c = getc(stdin);
sbin/fsck_ffs/utilities.c
100
c = getc(stdin);
sbin/fsck_ffs/utilities.c
105
while (c != '\n' && getc(stdin) != '\n') {
sbin/fsck_ffs/utilities.c
106
if (feof(stdin)) {
sbin/fsck_msdos/main.c
130
if (feof(stdin))
sbin/fsdb/fsdb.c
276
elptr = el_init(__progname, stdin, stdout, stderr);
sbin/growfs/growfs.c
1859
if (fgets(reply, (int)sizeof(reply), stdin) == NULL ||
sbin/iked/parse.y
1956
nfile->stream = stdin;
sbin/ipsecctl/parse.y
1391
nfile->stream = stdin;
sbin/mount_vnd/mount_vnd.c
140
saltfile = fgets(saltfilebuf, sizeof(saltfilebuf), stdin);
sbin/pdisk/io.c
56
return getc(stdin);
sbin/pfctl/parse.y
5944
nfile->stream = stdin;
sbin/pfctl/pfctl_radix.c
545
fp = stdin;
sbin/pfctl/pfctl_radix.c
558
if (fp != stdin)
sbin/restore/tape.c
144
terminal = stdin;
sbin/shutdown/shutdown.c
210
if (!fgets(p, endp - p + 1, stdin))
sbin/unwind/libunbound/util/configlexer.c
3995
yyin = stdin;
sbin/unwind/libunbound/util/configlexer.c
7155
yyin = stdin;
sbin/vnconfig/vnconfig.c
179
saltfile = fgets(saltfilebuf, sizeof(saltfilebuf), stdin);
sys/arch/amd64/stand/rdboot/cmd.c
282
ungetc(c, stdin);
sys/arch/amd64/stand/rdboot/cmd.c
298
if (fgets(buf, n, stdin) == NULL)
sys/arch/macppc/dev/zs.c
1020
if ((escc_ch = OF_instance_to_package(stdin)) == -1)
sys/arch/macppc/dev/zs.c
867
static int stdin, stdout;
sys/arch/macppc/dev/zs.c
946
OF_read(stdin, &ch, 1);
sys/arch/macppc/dev/zs.c
979
if (OF_getprop(chosen, "stdin", &stdin, sizeof(stdin)) == -1)
sys/arch/macppc/dev/zs.c
984
if ((pkg = OF_instance_to_package(stdin)) == -1)
sys/arch/macppc/stand/Locore.c
482
static int stdin;
sys/arch/macppc/stand/Locore.c
492
if (OF_getprop(chosen, "stdin", &stdin, sizeof(stdin)) != sizeof(stdin)
sys/arch/macppc/stand/Locore.c
542
l = OF_read(stdin, &ch, 1);
sys/arch/macppc/stand/Locore.c
556
while ((l = OF_read(stdin, &ch, 1)) != 1)
sys/arch/octeon/stand/rdboot/cmd.c
278
ungetc(c, stdin);
sys/arch/octeon/stand/rdboot/cmd.c
294
if (fgets(buf, n, stdin) == NULL)
sys/arch/powerpc64/stand/rdboot/cmd.c
276
ungetc(c, stdin);
sys/arch/powerpc64/stand/rdboot/cmd.c
292
if (fgets(buf, n, stdin) == NULL)
sys/arch/sparc64/dev/cons.h
33
extern int stdin, stdout;
sys/arch/sparc64/dev/consinit.c
108
while ((l = OF_read(stdin, &ch, 1)) != 1)
sys/arch/sparc64/dev/consinit.c
127
if (!stdin) stdin = OF_stdin();
sys/arch/sparc64/dev/consinit.c
188
OF_getprop(chosen, "stdin", &stdin, sizeof(stdin));
sys/arch/sparc64/dev/consinit.c
189
DBPRINT(("stdin instance = %x\r\n", stdin));
sys/arch/sparc64/dev/consinit.c
191
if ((stdinnode = OF_instance_to_package(stdin)) == 0) {
sys/arch/sparc64/dev/consinit.c
215
(OF_instance_to_path(stdin, buffer, sizeof(buffer)) >= 0)) {
sys/arch/sparc64/dev/consinit.c
62
int stdin = 0, stdout = 0;
sys/arch/sparc64/dev/pcons.c
182
if (OF_getprop(OF_instance_to_package(stdin), "compatible",
sys/arch/sparc64/dev/pcons.c
353
while (OF_read(stdin, &ch, 1) > 0) {
sys/arch/sparc64/dev/pcons.c
367
if (!stdin) stdin = OF_stdin();
sys/arch/sparc64/dev/pcons.c
370
return (stdin && stdout);
sys/arch/sparc64/sparc64/ofw_machdep.c
640
static u_int stdin = 0;
sys/arch/sparc64/sparc64/ofw_machdep.c
648
if (stdin != 0)
sys/arch/sparc64/sparc64/ofw_machdep.c
649
return stdin;
sys/arch/sparc64/sparc64/ofw_machdep.c
652
OF_getprop(chosen, "stdin", &stdin, sizeof(stdin));
sys/arch/sparc64/sparc64/ofw_machdep.c
653
return stdin;
sys/arch/sparc64/stand/ofwboot/Locore.c
316
static u_int stdin;
sys/arch/sparc64/stand/ofwboot/Locore.c
328
if (OF_getprop(chosen, "stdin", &stdin, sizeof(stdin)) != sizeof(stdin)
sys/arch/sparc64/stand/ofwboot/Locore.c
684
while ((l = OF_read(stdin, &ch, 1)) != 1)
sys/dev/microcode/aic7xxx/aicasm.c
588
if (isatty(fileno(stdin)) == 0)
sys/kern/subr_blist.c
1233
if (fgets(buf, sizeof(buf), stdin) == NULL)
usr.bin/at/at.c
349
if (ferror(stdin))
usr.bin/at/at.c
992
if (freopen(atinput, "r", stdin) == NULL)
usr.bin/awk/lib.c
111
infile = stdin; /* no filenames, so use stdin */
usr.bin/awk/lib.c
154
while (argno < *ARGC || infile == stdin) {
usr.bin/awk/lib.c
170
infile = stdin;
usr.bin/awk/lib.c
202
if (infile != stdin)
usr.bin/awk/lib.c
215
if (infile != NULL && infile != stdin)
usr.bin/awk/main.c
316
yyin = stdin;
usr.bin/awk/main.c
323
if (yyin != stdin)
usr.bin/awk/run.c
2353
files[0].fp = stdin;
usr.bin/awk/run.c
2417
fp = strcmp(s, "-") == 0 ? stdin : fopen(s, "r"); /* "-" is stdin */
usr.bin/awk/run.c
2426
if (fp != stdin && fp != stdout && fp != stderr)
usr.bin/awk/run.c
2463
if (files[i].fp == stdin || files[i].fp == stdout ||
usr.bin/awk/run.c
2500
if (files[i].fp == stdin || files[i].fp == stdout ||
usr.bin/bc/bc.y
1173
el = el_init("bc", stdin, stderr, stderr);
usr.bin/calendar/io.c
82
for (printing = 0; fgets(buf, sizeof(buf), stdin) != NULL;) {
usr.bin/cdio/cdio.c
1649
el = el_init(__progname, stdin, stdout, stderr);
usr.bin/colrm/colrm.c
176
if (ferror(stdin))
usr.bin/colrm/colrm.c
93
while (getline(&line, &linesz, stdin) != -1) {
usr.bin/column/column.c
122
input(stdin);
usr.bin/comm/comm.c
168
return (stdin);
usr.bin/csplit/csplit.c
140
infile = stdin;
usr.bin/cut/cut.c
132
fcn(stdin, "stdin");
usr.bin/cut/cut.c
147
fcn(stdin, "stdin");
usr.bin/cvs/date.y
877
while (fgets(buff, sizeof(buff), stdin) && buff[0]) {
usr.bin/cvs/logmsg.c
246
c = getc(stdin);
usr.bin/cvs/remote.c
136
in = stdin;
usr.bin/cvs/remote.c
92
in = stdin;
usr.bin/cvs/server.c
104
setvbuf(stdin, NULL, _IOLBF, 0);
usr.bin/dc/bcode.c
1654
clearerr(stdin);
usr.bin/dc/bcode.c
1655
src_setstream(&in, stdin);
usr.bin/dc/dc.c
116
src_setstream(&src, stdin);
usr.bin/deroff/deroff.c
1190
if (infile != stdin)
usr.bin/deroff/deroff.c
337
infile = stdin;
usr.bin/deroff/deroff.c
402
if (infile != stdin)
usr.bin/diff/diff.c
302
fp = stdin;
usr.bin/diff/diffreg.c
324
f1 = stdin;
usr.bin/diff/diffreg.c
345
f2 = stdin;
usr.bin/dig/dig.c
1775
batchfp = stdin;
usr.bin/dig/dig.c
1853
if (batchfp != stdin)
usr.bin/dig/dig.c
1876
if (batchfp != stdin)
usr.bin/dig/dig.c
1951
if (batchfp != stdin)
usr.bin/dig/nslookup.c
784
ptr = fgets(buf, COMMSIZE, stdin);
usr.bin/dig/nslookup.c
786
ptr = fgets(buf, COMMSIZE, stdin);
usr.bin/encrypt/encrypt.c
147
while (!feof(stdin) &&
usr.bin/encrypt/encrypt.c
148
(fgets(line, sizeof(line), stdin) != NULL)) {
usr.bin/expand/expand.c
79
if (freopen(argv[0], "r", stdin) == NULL)
usr.bin/finger/finger.c
172
if (!freopen(_PATH_UTMP, "r", stdin))
usr.bin/finger/finger.c
176
while (fread((char *)&user, sizeof(user), 1, stdin) == 1) {
usr.bin/finger/finger.c
267
if (!freopen(_PATH_UTMP, "r", stdin))
usr.bin/finger/finger.c
269
while (fread((char *)&user, sizeof(user), 1, stdin) == 1) {
usr.bin/fmt/fmt.c
349
process_stream(stdin, "standard input");
usr.bin/fold/fold.c
116
if (!freopen(*argv, "r", stdin))
usr.bin/fold/fold.c
258
if (ferror(stdin))
usr.bin/ftp/cmds.c
1040
if (fgets(acctname, sizeof(acctname), stdin) == NULL) {
usr.bin/ftp/cmds.c
1041
clearerr(stdin);
usr.bin/ftp/ftp.c
632
fin = stdin;
usr.bin/ftp/main.c
391
fromatty = isatty(fileno(stdin));
usr.bin/ftp/main.c
749
if (fgets(line, sizeof(line), stdin) == NULL)
usr.bin/ftp/util.c
1048
el = el_init(__progname, stdin, ttyout, stderr); /* init editline */
usr.bin/ftp/util.c
281
if (fgets(tmp, sizeof(tmp), stdin) != NULL) {
usr.bin/ftp/util.c
343
if (fgets(&line[len], (int)(sizeof(line) - len), stdin) == NULL) {
usr.bin/ftp/util.c
344
clearerr(stdin);
usr.bin/ftp/util.c
491
if (fgets(str, sizeof(str), stdin) == NULL)
usr.bin/ftp/util.c
517
clearerr(stdin);
usr.bin/head/head.c
119
fp = stdin;
usr.bin/hexdump/display.c
261
length == -1 ? need : MINIMUM(length, need), stdin);
usr.bin/hexdump/display.c
263
if (ferror(stdin))
usr.bin/hexdump/display.c
302
if (!(freopen(*_argv, "r", stdin))) {
usr.bin/hexdump/display.c
315
setvbuf(stdin, iobuf, _IOFBF, iobufsiz);
usr.bin/hexdump/display.c
333
if (fstat(fileno(stdin), &sb))
usr.bin/hexdump/display.c
340
if (fseeko(stdin, skip, SEEK_SET))
usr.bin/htpasswd/htpasswd.c
92
if ((linelen = getline(&line, &linesize, stdin)) == -1)
usr.bin/indent/args.c
267
input = stdin;
usr.bin/indent/indent.c
327
input = stdin;
usr.bin/indent/indent.c
330
if (troff || input == stdin)
usr.bin/infocmp/infocmp.c
1026
if (freopen(argv[n], "r", stdin) == 0)
usr.bin/infocmp/infocmp.c
1037
_nc_read_entry_source(stdin, NULL, TRUE, literal, NULLHOOK);
usr.bin/join/join.c
205
F1->fp = stdin;
usr.bin/join/join.c
210
F2->fp = stdin;
usr.bin/join/join.c
213
if (F1->fp == stdin && F2->fp == stdin)
usr.bin/kdump/kdump.c
250
if (!freopen(tracefile, "r", stdin))
usr.bin/kdump/kdump.c
331
while ((i = fread(buf, size, num, stdin)) == 0 && tail) {
usr.bin/kdump/kdump.c
333
clearerr(stdin);
usr.bin/lam/lam.c
175
ip->fp = stdin;
usr.bin/lam/lam.c
251
if (ip->fp == stdin)
usr.bin/lam/lam.c
252
fclose(stdin);
usr.bin/ldap/ldapclient.c
243
fp = stdin;
usr.bin/ldap/ldapclient.c
252
if (fp != stdin)
usr.bin/leave/leave.c
75
cp = fgets(buf, sizeof(buf), stdin);
usr.bin/less/lesskey.c
741
desc = stdin;
usr.bin/lex/filter.c
169
clearerr(stdin);
usr.bin/lex/filter.c
170
if (dup2(pipes[0], fileno(stdin)) == -1)
usr.bin/lex/filter.c
173
fseek(stdin, 0, SEEK_CUR);
usr.bin/lex/filter.c
291
while (fgets(buf, readsz, stdin)) {
usr.bin/lex/filter.c
356
while (fgets(buf, readsz, stdin)) {
usr.bin/locate/bigram/locate.bigram.c
65
while (fgets(path, sizeof(buf2), stdin) != NULL) {
usr.bin/locate/code/locate.code.c
171
while (fgets(path, sizeof(buf2), stdin) != NULL) {
usr.bin/logger/logger.c
124
while (fgets(buf, sizeof(buf), stdin) != NULL)
usr.bin/logger/logger.c
70
if (freopen(optarg, "r", stdin) == NULL) {
usr.bin/m4/main.c
248
set_input(infile+0, stdin, "stdin");
usr.bin/m4/main.c
255
set_input(infile, stdin, "stdin");
usr.bin/m4/misc.c
426
if (f->file != stdin)
usr.bin/mail/cmd1.c
350
restoreterm = (tcgetattr(fileno(stdin), &tbuf) == 0);
usr.bin/mail/cmd1.c
364
restoreterm = (tcgetattr(fileno(stdin), &tbuf) == 0);
usr.bin/mail/cmd1.c
390
(void)tcsetattr(fileno(stdin), TCSADRAIN, &tbuf);
usr.bin/mail/collect.c
111
c = readline(stdin, linebuf, LINESIZE, &sig);
usr.bin/mail/collect.c
562
clearerr(stdin);
usr.bin/mail/edit.c
95
if (fgets(buf, sizeof(buf), stdin) == NULL)
usr.bin/mail/main.c
259
input = stdin;
usr.bin/mail/tty.c
119
if (ioctl(fileno(stdin), TIOCEXT, &flag) == -1)
usr.bin/mail/tty.c
155
if (ioctl(fileno(stdin), TIOCEXT, &flag) == -1)
usr.bin/mail/tty.c
96
tty.fdin = fileno(stdin);
usr.bin/make/main.c
892
Parse_File(estrdup("(stdin)"), stdin);
usr.bin/mklocale/yacc.y
284
if (freopen(av[optind], "r", stdin) == 0)
usr.bin/newsyslog/newsyslog.c
482
f = stdin;
usr.bin/nl/nl.c
212
freopen(argv[0], "r", stdin) == NULL)
usr.bin/nl/nl.c
251
while ((linelen = getline(&buffer, &buffersize, stdin)) > 0) {
usr.bin/nl/nl.c
309
if (ferror(stdin))
usr.bin/nohup/nohup.c
90
(void)fprintf(stdin, "nohup: %s\n", strerror(errno));
usr.bin/openssl/apps.c
418
pwdbio = BIO_new_fp(stdin, BIO_NOCLOSE);
usr.bin/openssl/apps.c
525
setvbuf(stdin, NULL, _IONBF, 0);
usr.bin/openssl/apps.c
526
BIO_set_fp(cert, stdin, BIO_NOCLOSE);
usr.bin/openssl/apps.c
580
setvbuf(stdin, NULL, _IONBF, 0);
usr.bin/openssl/apps.c
581
BIO_set_fp(key, stdin, BIO_NOCLOSE);
usr.bin/openssl/apps.c
639
setvbuf(stdin, NULL, _IONBF, 0);
usr.bin/openssl/apps.c
640
BIO_set_fp(key, stdin, BIO_NOCLOSE);
usr.bin/openssl/apps.c
709
bio = BIO_new_fp(stdin, BIO_NOCLOSE);
usr.bin/openssl/asn1pars.c
283
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/ca.c
1218
if (fgets(answer, sizeof answer - 1, stdin) ==
usr.bin/openssl/ca.c
2168
if (!fgets(answer, sizeof(answer) - 1, stdin)) {
usr.bin/openssl/cms.c
1372
if ((in = BIO_new_fp(stdin, BIO_NOCLOSE)) == NULL)
usr.bin/openssl/crl.c
457
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/crl2p7.c
195
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/dgst.c
547
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/dh.c
176
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/dhparam.c
318
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/dsa.c
268
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/dsaparam.c
196
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/ec.c
299
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/ecparam.c
272
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/enc.c
472
setvbuf(stdin, (char *) NULL, _IONBF, 0);
usr.bin/openssl/enc.c
473
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/passwd.c
200
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/pkcs12.c
569
in = BIO_new_fp(stdin, BIO_NOCLOSE);
usr.bin/openssl/pkcs7.c
179
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/pkcs8.c
238
in = BIO_new_fp(stdin, BIO_NOCLOSE);
usr.bin/openssl/pkeyparam.c
139
in = BIO_new_fp(stdin, BIO_NOCLOSE);
usr.bin/openssl/pkeyutl.c
307
in = BIO_new_fp(stdin, BIO_NOCLOSE);
usr.bin/openssl/req.c
1465
if (!fgets(buf, sizeof buf, stdin))
usr.bin/openssl/req.c
1518
if (!fgets(buf, sizeof buf, stdin))
usr.bin/openssl/req.c
840
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/rsautl.c
315
in = BIO_new_fp(stdin, BIO_NOCLOSE);
usr.bin/openssl/s_client.c
1387
pfd[0].fd = fileno(stdin);
usr.bin/openssl/s_client.c
1590
i = read(fileno(stdin), cbuf, BUFSIZZ / 2);
usr.bin/openssl/s_client.c
1606
i = read(fileno(stdin), cbuf, BUFSIZZ);
usr.bin/openssl/s_server.c
1570
pfd[0].fd = fileno(stdin);
usr.bin/openssl/s_server.c
1604
i = read(fileno(stdin), buf, bufsize / 2);
usr.bin/openssl/s_server.c
1620
i = read(fileno(stdin), buf, bufsize);
usr.bin/openssl/sess_id.c
268
BIO_set_fp(in, stdin, BIO_NOCLOSE);
usr.bin/openssl/smime.c
881
if ((in = BIO_new_fp(stdin, BIO_NOCLOSE)) == NULL)
usr.bin/openssl/ts.c
548
(data_bio = BIO_open_with_default(data, "rb", stdin)) == NULL)
usr.bin/openssl/x509.c
922
BIO_set_fp(in, stdin, BIO_NOCLOSE | BIO_FP_TEXT);
usr.bin/paste/paste.c
118
lp->fp = stdin;
usr.bin/paste/paste.c
140
err(1, "%s", lp->fp == stdin ?
usr.bin/paste/paste.c
144
if (lp->fp != stdin)
usr.bin/paste/paste.c
186
fp = stdin;
usr.bin/paste/paste.c
202
err(1, "%s", fp == stdin ? "getline" : p);
usr.bin/paste/paste.c
205
if (fp != stdin)
usr.bin/patch/pch.c
106
while (getline(&buf, &bufsz, stdin) != -1)
usr.bin/pr/pr.c
1044
if (fbuf[j] != stdin)
usr.bin/pr/pr.c
1118
if (fbuf[j] && fbuf[j] != stdin)
usr.bin/pr/pr.c
1426
clearerr(stdin);
usr.bin/pr/pr.c
1427
inf = stdin;
usr.bin/pr/pr.c
1442
clearerr(stdin);
usr.bin/pr/pr.c
1443
inf = stdin;
usr.bin/pr/pr.c
1499
if (inf != stdin)
usr.bin/pr/pr.c
316
if (inf != stdin)
usr.bin/pr/pr.c
334
if (inf != NULL && inf != stdin)
usr.bin/pr/pr.c
645
if (inf != stdin)
usr.bin/pr/pr.c
664
if (inf != NULL && inf != stdin)
usr.bin/pr/pr.c
810
if (inf != stdin)
usr.bin/pr/pr.c
825
if (inf != NULL && inf != stdin)
usr.bin/rcs/date.y
882
while (fgets(buff, sizeof(buff), stdin) && buff[0]) {
usr.bin/rcs/ident.c
70
ident_file(NULL, stdin);
usr.bin/rcs/rcsutil.c
345
clearerr(stdin);
usr.bin/rcs/rcsutil.c
346
while ((buf = fgetln(stdin, &len)) != NULL) {
usr.bin/rcs/rcsutil.c
561
clearerr(stdin);
usr.bin/rcs/rcsutil.c
564
if (c == defc || c == '\n' || (c == EOF && feof(stdin)))
usr.bin/rdist/rdist.c
171
fin = stdin;
usr.bin/rdist/rdist.c
286
if (fin != stdin)
usr.bin/rdistd/rdistd.c
93
rem_r = fileno(stdin);
usr.bin/rev/rev.c
106
fp = stdin;
usr.bin/rs/rs.c
319
if ((curlen = getline(&curline, &cursz, stdin)) == EOF) {
usr.bin/rs/rs.c
320
if (ferror(stdin))
usr.bin/rwall/rwall.c
139
if (fname && !(freopen(fname, "r", stdin)))
usr.bin/rwall/rwall.c
141
while (fgets(lbuf, sizeof(lbuf), stdin))
usr.bin/sdiff/sdiff.c
443
for (; (cmd = xfgets(stdin)); free(cmd)) {
usr.bin/sed/main.c
354
infile = stdin;
usr.bin/sed/main.c
369
if (infile == stdin) {
usr.bin/sendbug/sendbug.c
306
fpurge(stdin);
usr.bin/sendbug/sendbug.c
643
while (fgets(buf, sizeof(buf), stdin) != NULL) {
usr.bin/skeyinit/skeyinit.c
337
(void)fgets(buf, bufsiz, stdin);
usr.bin/skeyinit/skeyinit.c
338
clearerr(stdin);
usr.bin/skeyinit/skeyinit.c
355
(void)fgets(newseed, sizeof(newseed), stdin); /* XXX */
usr.bin/skeyinit/skeyinit.c
356
clearerr(stdin);
usr.bin/skeyinit/skeyinit.c
389
(void)fgets(buf, bufsiz, stdin);
usr.bin/skeyinit/skeyinit.c
390
clearerr(stdin);
usr.bin/sort/file.c
467
return (mode[0] == 'r') ? stdin : stdout;
usr.bin/sort/file.c
502
} else if (f == stdin) {
usr.bin/sort/file.c
608
} else if (fr->file != stdin) {
usr.bin/ssh/sftp.c
1821
if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) != -1)
usr.bin/ssh/sftp.c
2216
if ((el = el_init(__progname, stdin, stdout, stderr)) == NULL)
usr.bin/ssh/sftp.c
2450
infile = stdin;
usr.bin/ssh/sftp.c
861
if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) != -1)
usr.bin/ssh/sftp.c
990
if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) != -1)
usr.bin/ssh/ssh-add.c
131
while (getline(&line, &linesize, stdin) != -1) {
usr.bin/ssh/ssh-keygen.c
1510
if (!fgets(new_comment, sizeof(new_comment), stdin)) {
usr.bin/ssh/ssh-keygen.c
2119
f = stdin;
usr.bin/ssh/ssh-keygen.c
2221
krl_spec = stdin;
usr.bin/ssh/ssh-keygen.c
229
if (fgets(yesno, sizeof(yesno), stdin) == NULL)
usr.bin/ssh/ssh-keygen.c
274
if (fgets(buf, sizeof(buf), stdin) == NULL)
usr.bin/ssh/ssh-keygen.c
2949
FILE *out, *in = stdin;
usr.bin/ssh/ssh-keygen.c
2998
if (in != stdin)
usr.bin/ssh/ssh-keygen.c
3209
if (fgets(yesno, sizeof(yesno), stdin) == NULL)
usr.bin/ssh/ssh-keygen.c
904
f = stdin;
usr.bin/ssh/ssh-keyscan.c
762
fp = stdin;
usr.bin/ssh/ssh-keyscan.c
765
fp == stdin ? "<stdin>" : argv[j], strerror(errno));
usr.bin/ssh/ssh-keyscan.c
788
fp == stdin ? "<stdin>" : argv[j], strerror(errno));
usr.bin/ssh/ssh-keyscan.c
790
if (fp != stdin)
usr.bin/ssh/ssh.c
1388
if ((!isatty(fileno(stdin)) || options.stdin_null) &&
usr.bin/ssh/ssh.c
2175
NULL, fileno(stdin), command, environ);
usr.bin/ssh/sshtty.c
59
if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) {
usr.bin/ssh/sshtty.c
71
if (tcgetattr(fileno(stdin), &tio) == -1) {
usr.bin/ssh/sshtty.c
89
if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) {
usr.bin/systat/engine.c
1079
screen = newterm(NULL, stdout, stdin);
usr.bin/tail/forward.c
338
if (tf && !(tf->fp == stdin) &&
usr.bin/tail/tail.c
173
tf[0].fp = stdin;
usr.bin/tail/tail.c
175
if (fstat(fileno(stdin), &(tf[0].sb))) {
usr.bin/talk/io.c
75
fds[0].fd = fileno(stdin);
usr.bin/telnet/commands.c
1146
(void) fgets(buf, sizeof(buf), stdin);
usr.bin/telnet/commands.c
1750
(void) fgets(&line[strlen(line)], sizeof(line) - strlen(line), stdin);
usr.bin/telnet/commands.c
2014
if (fgets(line, sizeof(line), stdin) == NULL) {
usr.bin/telnet/commands.c
2015
if (feof(stdin) || ferror(stdin))
usr.bin/telnet/sys_bsd.c
384
if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) == 0) {
usr.bin/telnet/sys_bsd.c
64
tin = fileno(stdin);
usr.bin/tftp/main.c
249
readcmd(&line[strlen(line)], LBUFLEN - strlen(line), stdin);
usr.bin/tftp/main.c
332
readcmd(&line[strlen(line)], LBUFLEN - strlen(line), stdin);
usr.bin/tftp/main.c
420
readcmd(&line[strlen(line)], LBUFLEN - strlen(line), stdin);
usr.bin/tftp/main.c
496
readcmd(&line[strlen(line)], LBUFLEN - strlen(line), stdin);
usr.bin/tftp/main.c
522
readcmd(&line[strlen(line)], LBUFLEN - strlen(line), stdin);
usr.bin/tftp/main.c
586
if (readcmd(line, LBUFLEN, stdin) < 1)
usr.bin/tftp/main.c
749
readcmd(&line[strlen(line)], LBUFLEN - strlen(line), stdin);
usr.bin/tftp/main.c
790
if (feof(stdin))
usr.bin/tic/tic.c
462
fp = copy_input(stdin, STDIN_NAME, alt_file);
usr.bin/tmux/client.c
423
setvbuf(stdin, NULL, _IOLBF, 0);
usr.bin/tmux/client.c
425
linelen = getline(&line, &linesize, stdin);
usr.bin/tput/tput.c
468
while (fgets(buf, sizeof(buf), stdin) != 0) {
usr.bin/tset/tset.c
174
clearerr(stdin);
usr.bin/tset/tset.c
175
if (feof(stdin) || ferror(stdin)) {
usr.bin/tset/tset.c
190
if (fgets(answer, sizeof(answer), stdin) == 0) {
usr.bin/tsort/tsort.c
906
order = read_pairs(stdin, pairs, reverse_flag, "stdin",
usr.bin/ul/ul.c
150
mfilter(stdin);
usr.bin/unexpand/unexpand.c
69
if (freopen(argv[0], "r", stdin) == NULL) {
usr.bin/unexpand/unexpand.c
75
while (fgets(genbuf, BUFSIZ, stdin) != NULL) {
usr.bin/unifdef/unifdef.c
400
input = stdin;
usr.bin/uniq/uniq.c
110
if (freopen(argv[0], "r", stdin) == NULL)
usr.bin/uniq/uniq.c
123
if ((len = getline(&prevline, &prevsize, stdin)) == -1) {
usr.bin/uniq/uniq.c
125
if (ferror(stdin))
usr.bin/uniq/uniq.c
138
while ((len = getline(&thisline, &thissize, stdin)) != -1) {
usr.bin/uniq/uniq.c
165
if (ferror(stdin))
usr.bin/units/units.c
698
if (!fgets(havestr, sizeof(havestr), stdin)) {
usr.bin/units/units.c
709
if (!fgets(wantstr, sizeof(wantstr), stdin)) {
usr.bin/unvis/unvis.c
71
process(stdin, "<stdin>");
usr.bin/users/users.c
70
if (!freopen(_PATH_UTMP, "r", stdin)) {
usr.bin/users/users.c
75
while (fread((char *)&utmp, sizeof(utmp), 1, stdin) == 1) {
usr.bin/uudecode/uudecode.c
151
infp = stdin;
usr.bin/uuencode/uuencode.c
107
if (!freopen(*argv, "r", stdin) || fstat(fileno(stdin), &sb))
usr.bin/uuencode/uuencode.c
159
while ((n = fread(buf, 1, sizeof(buf), stdin))) {
usr.bin/uuencode/uuencode.c
182
while ((n = fread(buf, 1, 45, stdin))) {
usr.bin/uuencode/uuencode.c
213
if (ferror(stdin))
usr.bin/vacation/vacation.c
194
while (fgets(buf, sizeof(buf), stdin) && *buf != '\n')
usr.bin/vi/cl/cl_screen.c
238
if (newterm(ttype, stdout, stdin) == NULL) {
usr.bin/vis/vis.c
123
process(stdin);
usr.bin/wall/wall.c
227
if (freopen(fname, "r", stdin) == NULL)
usr.bin/wall/wall.c
232
while (fgets(lbuf, sizeof(lbuf), stdin))
usr.bin/wc/wc.c
220
stream = stdin;
usr.bin/what/what.c
83
if (!freopen(*argv, "r", stdin)) {
usr.bin/write/write.c
272
while (fgets(line, sizeof(line), stdin) != NULL)
usr.bin/write/write.c
69
if (isatty(fileno(stdin)))
usr.bin/write/write.c
70
myttyfd = fileno(stdin);
usr.bin/yacc/main.c
159
input_file = stdin;
usr.sbin/ac/ac.c
108
fp = stdin;
usr.sbin/config/misc.c
68
if (fgets(lbuf, sizeof lbuf, cmdfp ? cmdfp : stdin) == NULL) {
usr.sbin/config/misc.c
89
first = ch = getc(cmdfp ? cmdfp : stdin);
usr.sbin/config/misc.c
95
ch = getc(cmdfp ? cmdfp : stdin);
usr.sbin/cron/crontab.c
186
NewCrontab = stdin;
usr.sbin/cron/crontab.c
354
if (fgets(q, sizeof q, stdin) == NULL) {
usr.sbin/eeprom/main.c
88
while (fgets(line, BUFSIZE, stdin) != NULL) {
usr.sbin/eeprom/main.c
95
if (ferror(stdin))
usr.sbin/fdformat/fdformat.c
149
if (!fgets(reply, sizeof(reply), stdin))
usr.sbin/hostctl/hostctl.c
75
fp = stdin;
usr.sbin/hostctl/hostctl.c
89
if (fp != stdin)
usr.sbin/lpr/filters/lpf.c
154
ungetc(ch, stdin);
usr.sbin/lpr/filters/lpf.c
67
FILE *p = stdin, *o = stdout;
usr.sbin/lpr/lpc/lpc.c
102
fromatty = isatty(fileno(stdin));
usr.sbin/lpr/lpc/lpc.c
137
if (fgets(cmdline, MAX_CMDLINE, stdin) == NULL) {
usr.sbin/lpr/lpd/allowedhost.c
245
error = allowedhost(stdin, res0->ai_addr, res0->ai_addrlen);
usr.sbin/mtree/mtree.c
76
if (!(freopen(optarg, "r", stdin)))
usr.sbin/mtree/spec.c
64
for (lineno = 1; (buf = fgetln(stdin, &len));
usr.sbin/nsd/nsd-control.c
498
send_file(ssl, fd, stdin, buf, sizeof(buf));
usr.sbin/nsd/simdzone/src/zone.c
164
assert(!is_stdin || (!file->handle || file->handle == stdin));
usr.sbin/nsd/simdzone/src/zone.c
176
if (file->handle && file->handle != stdin)
usr.sbin/nsd/simdzone/src/zone.c
268
file->handle = stdin;
usr.sbin/quot/quot.c
419
ungetc(c, stdin);
usr.sbin/sa/pdb.c
305
cp = fgetln(stdin, &len);
usr.sbin/smtpd/enqueue.c
279
msg.noheader = parse_message(stdin, fake_from == NULL, tflag, fp);
usr.sbin/smtpd/mail.lmtp.c
323
while (getline(&line, &linesize, stdin) != -1) {
usr.sbin/smtpd/mail.lmtp.c
330
if (ferror(stdin))
usr.sbin/smtpd/mail.maildir.c
186
while (getline(&line, &linesize, stdin) != -1) {
usr.sbin/smtpd/mail.maildir.c
197
if (ferror(stdin))
usr.sbin/smtpd/mail.mboxfile.c
79
while (getline(&line, &linesize, stdin) != -1) {
usr.sbin/smtpd/mail.mboxfile.c
88
if (ferror(stdin))
usr.sbin/smtpd/smtpc.c
254
parse_message(stdin);
usr.sbin/smtpd/smtpd.c
669
if ((len = getline(&buf, &sz, stdin)) == -1)
usr.sbin/smtpd/spfwalk.c
94
while ((linelen = getline(&line, &linesize, stdin)) != -1) {
usr.sbin/tcpdump/privsep_pcap.c
362
fp = stdin;
usr.sbin/unbound/smallapp/unbound-control.c
902
send_file(ssl, fd, stdin, buf, sizeof(buf));
usr.sbin/unbound/smallapp/unbound-control.c
910
send_file(ssl, fd, stdin, buf, sizeof(buf));
usr.sbin/unbound/testcode/pktview.c
197
read_input(pkt, stdin);
usr.sbin/unbound/testcode/signit.c
227
rrs = read_rrs(stdin);
usr.sbin/unbound/testcode/signit.c
247
while(fgets(line, (int)sizeof(line), stdin)) {
usr.sbin/ypserv/makedbm/makedbm.c
173
data_file = stdin;
usr.sbin/ypserv/revnetgroup/revnetgroup.c
119
fp = stdin;
usr.sbin/zic/zic.c
748
fp = stdin;
usr.sbin/zic/zic.c
809
if (fp != stdin && fclose(fp))