bin/cat/cat.c
260
cook_cat(stdin);
bin/cat/cat.c
296
if (fp == stdin && feof(stdin))
bin/cat/cat.c
297
clearerr(stdin);
bin/ed/buf.c
258
setbuffer(stdin, stdinbuf, 1);
bin/ed/glbl.c
103
clearerr(stdin);
bin/ed/io.c
270
if (ferror(stdin)) {
bin/ed/io.c
273
clearerr(stdin);
bin/ed/io.c
277
clearerr(stdin);
bin/ed/main.c
1022
clearerr(stdin);
bin/ed/main.c
183
clearerr(stdin);
bin/ed/main.c
192
clearerr(stdin);
bin/ed/sub.c
97
clearerr(stdin);
bin/getfacl/getfacl.c
211
while (fgets(pathname, (int)sizeof(pathname), stdin)) {
bin/pax/ftree.c
284
if (fgets(farray[0], PAXPATHLEN+1, stdin) == NULL)
bin/pax/options.c
1255
while ((str = get_line(stdin)) != NULL) {
bin/pax/options.c
865
fp = stdin;
bin/pax/options.c
938
fp = stdin;
bin/setfacl/file.c
54
file = stdin;
bin/setfacl/setfacl.c
103
while (fgets(filename, (int)sizeof(filename), stdin)) {
crypto/heimdal/admin/add.c
42
if (fgets(buf, len, stdin) == NULL)
crypto/heimdal/appl/ftp/ftp/cmds.c
1319
fgets(acctstr, sizeof(acctstr) - 1, stdin);
crypto/heimdal/appl/ftp/ftp/cmds.c
1543
if (fgets(buf, sizeof buf, stdin) == NULL)
crypto/heimdal/appl/ftp/ftp/cmds.c
64
if (fgets(&line[len], sizeof(line) - len, stdin) == NULL)
crypto/heimdal/appl/ftp/ftp/ftp.c
201
if (fgets (tmp, sizeof (tmp) - 1, stdin) != NULL)
crypto/heimdal/appl/ftp/ftp/ftp.c
713
fin = stdin;
crypto/heimdal/appl/ftp/ftp/main.c
128
fromatty = isatty(fileno(stdin));
crypto/heimdal/appl/ftp/ftp/main.c
239
if(fgets(buf, sizeof(buf), stdin) == NULL)
crypto/heimdal/appl/ftp/ftp/main.c
295
if (fgets(line, sizeof line, stdin) == NULL)
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3101
while ((c = getc(stdin)) != EOF) {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3104
if ((c = getc(stdin)) != EOF) {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3109
c = getc(stdin);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3115
c = getc(stdin);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1048
while ((c = getc(stdin)) != EOF) {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1051
if ((c = getc(stdin)) != EOF) {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1056
c = getc(stdin);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1062
c = getc(stdin);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
377
if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
crypto/heimdal/appl/login/read_string.c
112
if(tty != stdin)
crypto/heimdal/appl/login/read_string.c
77
tty = stdin;
crypto/heimdal/appl/telnet/telnet/authenc.c
91
res = fgets(result, length, stdin);
crypto/heimdal/appl/telnet/telnet/commands.c
1222
fgets(buf, sizeof(buf), stdin);
crypto/heimdal/appl/telnet/telnet/commands.c
2069
fgets(&line[strlen(line)], sizeof(line) - strlen(line), stdin);
crypto/heimdal/appl/telnet/telnet/commands.c
2389
if (fgets(line, sizeof(line), stdin) == NULL) {
crypto/heimdal/appl/telnet/telnet/commands.c
2390
if (feof(stdin) || ferror(stdin)) {
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
83
tin = fileno(stdin);
crypto/heimdal/kadmin/util.c
593
if(fgets(buf, len, stdin) == NULL) {
crypto/heimdal/kadmin/util.c
595
if(ferror(stdin))
crypto/heimdal/kdc/string2key.c
145
if(fgets(buf, sizeof(buf), stdin) == NULL)
crypto/heimdal/kdc/string2key.c
152
if(fgets(buf, sizeof(buf), stdin) == NULL)
crypto/heimdal/kuser/kinit.c
373
f = stdin;
crypto/heimdal/kuser/kinit.c
384
if (f != stdin)
crypto/heimdal/kuser/kswitch.c
47
if(fgets(buf, sizeof(buf), stdin) == NULL)
crypto/heimdal/lib/asn1/lex.c
1048
yyin = stdin;
crypto/heimdal/lib/asn1/lex.c
2617
yyin = stdin;
crypto/heimdal/lib/asn1/main.c
117
yyin = stdin;
crypto/heimdal/lib/com_err/lex.c
1752
yyin = stdin;
crypto/heimdal/lib/com_err/lex.c
725
yyin = stdin;
crypto/heimdal/lib/hx509/hxtool.c
1528
while(fgets(buf, sizeof(buf), stdin) != NULL) {
crypto/heimdal/lib/hx509/hxtool.c
1543
while((len = fread(buf, 1, sizeof(buf), stdin)) != 0) {
crypto/heimdal/lib/hx509/lock.c
199
stdin) == NULL)
crypto/heimdal/lib/krb5/prompter_posix.c
66
stdin) == NULL)
crypto/heimdal/lib/sl/sl.c
189
if(fgets(buf, sizeof(buf), stdin) == NULL)
crypto/heimdal/lib/sl/slc-lex.c
1689
yyin = stdin;
crypto/heimdal/lib/sl/slc-lex.c
704
yyin = stdin;
crypto/krb5/src/clients/kinit/kinit.c
865
if (!isatty(fileno(stdin)))
crypto/krb5/src/clients/kinit/kinit.c
866
setvbuf(stdin, 0, _IONBF, 0);
crypto/krb5/src/kadmin/cli/kadmin.c
1765
fgets(reply, sizeof(reply), stdin);
crypto/krb5/src/kadmin/cli/kadmin.c
692
fgets(reply, sizeof (reply), stdin);
crypto/krb5/src/kadmin/cli/kadmin.c
753
fgets(reply, sizeof(reply), stdin);
crypto/krb5/src/kadmin/dbutil/dump.c
1443
f = stdin;
crypto/krb5/src/kadmin/dbutil/dump.c
1602
if (f != NULL && f != stdin)
crypto/krb5/src/kadmin/dbutil/kdb5_destroy.c
70
if (fgets(buf, sizeof(buf), stdin) == NULL) {
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
1065
if (fgets(buf, sizeof(buf), stdin) == NULL) {
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
822
if (fgets(ansbuf, sizeof(ansbuf), stdin) == NULL)
crypto/krb5/src/kadmin/ktutil/ktutil_funcs.c
206
fgets(buf, BUFSIZ, stdin);
crypto/krb5/src/lib/krb5/os/prompter.c
269
if (fgets(prompts[i].reply->data, prompts[i].reply->length, stdin)
crypto/krb5/src/lib/krb5/os/read_pwd.c
147
if (fgets(password, *pwsize, stdin) == NULL) {
crypto/krb5/src/lib/krb5/os/read_pwd.c
168
if (fgets(tmpstr, *pwsize, stdin) == NULL) {
crypto/krb5/src/lib/krb5/os/read_pwd.c
254
if (_isatty(_fileno(stdin)))
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1895
in = stdin;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1925
if (in != stdin && in != NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
172
if (strcmp(*argv, "-") && freopen(*argv, "r", stdin) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
205
(p = fgets(buf, sizeof(buf), stdin)) != NULL; ++lineno) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tcreat3.c
84
while ( fgets(wp1, 8192, stdin) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tcreat3.c
85
fgets(wp2, 8192, stdin) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
86
while ( fgets(wp1, 8192, stdin) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
87
fgets(wp2, 8192, stdin) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
88
while ( fgets(wp1, 8192, stdin) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
89
fgets(wp2, 8192, stdin) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
85
while ( fgets(wp1, 8192, stdin) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
86
fgets(wp2, 8192, stdin) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
85
while ( fgets(wp1, 8192, stdin) &&
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
86
fgets(wp2, 8192, stdin) &&
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c
362
if (fgets(buf, sizeof(buf), stdin) == NULL) {
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
1435
if (fgets(buf, sizeof(buf), stdin) == NULL) {
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
516
if (fgets(krb_location, MAX_KRB_CONTAINER_LEN, stdin) != NULL) {
crypto/krb5/src/util/profile/argv_parse.c
152
while (!feof(stdin)) {
crypto/krb5/src/util/profile/argv_parse.c
153
if (fgets(buf, sizeof(buf), stdin) == NULL)
crypto/krb5/src/util/profile/test_profile.c
33
while (!feof(stdin)) {
crypto/krb5/src/util/profile/test_profile.c
34
if (fgets(buf, sizeof(buf), stdin) == NULL)
crypto/krb5/src/util/ss/listen.c
38
setvbuf(stdin, 0, _IONBF, 0);
crypto/krb5/src/util/ss/listen.c
46
if (fgets(input, BUFSIZ, stdin) == NULL)
crypto/krb5/src/wconfig.c
184
fin = stdin;
crypto/openssh/auth-pam.c
1157
if (fgets(input, sizeof input, stdin) == NULL)
crypto/openssh/openbsd-compat/bsd-getline.c
108
while ((len = getline(&p, &n, stdin)) != -1)
crypto/openssh/sftp.c
1010
if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) != -1)
crypto/openssh/sftp.c
1842
if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) != -1)
crypto/openssh/sftp.c
2222
if ((el = el_init(__progname, stdin, stdout, stderr)) == NULL)
crypto/openssh/sftp.c
2469
infile = stdin;
crypto/openssh/sftp.c
875
if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) != -1)
crypto/openssh/ssh-add.c
143
while (getline(&line, &linesize, stdin) != -1) {
crypto/openssh/ssh-keygen.c
1003
f = stdin;
crypto/openssh/ssh-keygen.c
1613
if (!fgets(new_comment, sizeof(new_comment), stdin)) {
crypto/openssh/ssh-keygen.c
2220
f = stdin;
crypto/openssh/ssh-keygen.c
2323
krl_spec = 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
3057
FILE *out, *in = stdin;
crypto/openssh/ssh-keygen.c
3109
if (in != stdin)
crypto/openssh/ssh-keygen.c
3319
if (fgets(yesno, sizeof(yesno), stdin) == NULL)
crypto/openssh/ssh-keyscan.c
808
fp = stdin;
crypto/openssh/ssh-keyscan.c
811
fp == stdin ? "<stdin>" : argv[j], strerror(errno));
crypto/openssh/ssh-keyscan.c
834
fp == stdin ? "<stdin>" : argv[j], strerror(errno));
crypto/openssh/ssh-keyscan.c
836
if (fp != stdin)
crypto/openssh/ssh.c
1424
if ((!isatty(fileno(stdin)) || options.stdin_null) &&
crypto/openssh/ssh.c
2238
NULL, fileno(stdin), command, environ);
crypto/openssh/sshtty.c
61
if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) {
crypto/openssh/sshtty.c
73
if (tcgetattr(fileno(stdin), &tio) == -1) {
crypto/openssh/sshtty.c
91
if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) {
crypto/openssl/apps/ca.c
1068
if (fgets(tmp, sizeof(tmp), stdin) == NULL) {
crypto/openssl/apps/ca.c
1924
if (fgets(buf, sizeof(buf), stdin) == NULL) {
crypto/openssl/apps/dgst.c
468
BIO_set_fp(in, stdin, BIO_NOCLOSE);
crypto/openssl/apps/lib/apps.c
258
unbuffer(stdin);
crypto/openssl/apps/lib/apps.c
2927
return fileno(stdin);
crypto/openssl/apps/lib/apps.c
2992
return BIO_new_fp(stdin,
crypto/openssl/apps/lib/apps.c
3270
if (!feof(stdin)) {
crypto/openssl/apps/lib/apps.c
976
unbuffer(stdin);
crypto/openssl/apps/lib/apps.c
977
bio = BIO_new_fp(stdin, 0);
crypto/openssl/apps/req.c
1434
if (!fgets(buf, buf_size, stdin))
crypto/openssl/crypto/bio/bio_local.h
148
#define UP_stdin stdin
crypto/openssl/crypto/bio/bss_file.c
219
if (ptr == stdin || ptr == stdout || ptr == stderr)
crypto/openssl/crypto/bio/bss_file.c
222
if ((size_t)ptr >= (size_t)stdin && (size_t)ptr < (size_t)(stdin + _IOB_ENTRIES))
crypto/openssl/crypto/ui/ui_openssl.c
378
tty_in = stdin;
crypto/openssl/crypto/ui/ui_openssl.c
385
tty_in = stdin;
crypto/openssl/crypto/ui/ui_openssl.c
389
tty_in = stdin;
crypto/openssl/crypto/ui/ui_openssl.c
398
tty_in = stdin;
crypto/openssl/crypto/ui/ui_openssl.c
554
if (tty_in != stdin)
crypto/openssl/demos/digest/BIO_f_md.c
49
input = BIO_new_fd(fileno(stdin), 1);
crypto/openssl/demos/digest/EVP_MD_stdin.c
127
BIO *input = BIO_new_fd(fileno(stdin), 1);
crypto/openssl/demos/encode/ec_encode.c
191
pkey = load_key(libctx, stdin, passphrase_in);
crypto/openssl/demos/encode/rsa_encode.c
188
pkey = load_key(libctx, stdin, passphrase_in);
crypto/openssl/demos/sslecho/main.c
321
txbuf = fgets(buffer, BUFFERSIZE, stdin);
crypto/openssl/include/internal/e_os.h
110
#if defined(_MSC_VER) && !defined(_WIN32_WCE) && !defined(_DLL) && defined(stdin)
crypto/openssl/ms/applink.c
58
return stdin;
crypto/openssl/test/bio_prefix_text.c
149
bio_in = BIO_new_fp(stdin, BIO_NOCLOSE | BIO_FP_TEXT);
include/stdio.h
513
#define getchar() getc(stdin)
include/stdio.h
531
#define getchar_unlocked() getc_unlocked(stdin)
lib/geom/part/geom_part.c
964
fgets(line, sizeof(line) - 1, stdin) != NULL) {
lib/libc/db/test/dbtest.c
125
if (strcmp(*argv, "-") && freopen(*argv, "r", stdin) == NULL)
lib/libc/db/test/dbtest.c
158
(p = fgets(buf, sizeof(buf), stdin)) != NULL; ++lineno) {
lib/libc/db/test/hash.tests/tcreat3.c
72
while ( fgets(wp1, 8192, stdin) &&
lib/libc/db/test/hash.tests/tcreat3.c
73
fgets(wp2, 8192, stdin) &&
lib/libc/db/test/hash.tests/tdel.c
74
while ( fgets(wp1, 8192, stdin) &&
lib/libc/db/test/hash.tests/tdel.c
75
fgets(wp2, 8192, stdin) &&
lib/libc/db/test/hash.tests/thash4.c
77
while ( fgets(wp1, 8192, stdin) &&
lib/libc/db/test/hash.tests/thash4.c
78
fgets(wp2, 8192, stdin) &&
lib/libc/db/test/hash.tests/tread2.c
73
while ( fgets(wp1, 8192, stdin) &&
lib/libc/db/test/hash.tests/tread2.c
74
fgets(wp2, 8192, stdin) &&
lib/libc/db/test/hash.tests/tverify.c
73
while ( fgets(wp1, 8192, stdin) &&
lib/libc/db/test/hash.tests/tverify.c
74
fgets(wp2, 8192, stdin) &&
lib/libc/quad/TESTS/divrem.c
47
if (fgets(buf, sizeof buf, stdin) == NULL)
lib/libc/quad/TESTS/mul.c
46
if (fgets(buf, sizeof buf, stdin) == NULL)
lib/libc/regex/grot/main.c
73
regress(stdin);
lib/libc/regex/grot/split.c
171
while (fgets(buf, sizeof(buf), stdin) != NULL) {
lib/libc/stdio/getchar.c
51
FLOCKFILE_CANCELSAFE(stdin);
lib/libc/stdio/getchar.c
54
retval = __sgetc(stdin);
lib/libc/stdio/getchar.c
63
return (__sgetc(stdin));
lib/libc/stdio/gets.c
51
FLOCKFILE_CANCELSAFE(stdin);
lib/libc/stdio/gets.c
52
ORIENT(stdin, -1);
lib/libc/stdio/gets.c
57
for (s = buf; (c = __sgetc(stdin)) != '\n'; ) {
lib/libc/stdio/gets_s.c
53
ORIENT(stdin, -1);
lib/libc/stdio/gets_s.c
54
for (s = buf, n--; (c = __sgetc(stdin)) != '\n' && n > 0 ; n--) {
lib/libc/stdio/gets_s.c
70
while ((c = __sgetc(stdin)) != '\n' && c != EOF);
lib/libc/stdio/gets_s.c
96
FLOCKFILE_CANCELSAFE(stdin);
lib/libc/stdio/getwchar.c
50
return (fgetwc(stdin));
lib/libc/stdio/getwchar.c
55
return (fgetwc_l(stdin, locale));
lib/libc/stdio/scanf.c
55
FLOCKFILE_CANCELSAFE(stdin);
lib/libc/stdio/scanf.c
56
ret = __svfscanf(stdin, __get_locale(), fmt, ap);
lib/libc/stdio/scanf.c
69
FLOCKFILE_CANCELSAFE(stdin);
lib/libc/stdio/scanf.c
70
ret = __svfscanf(stdin, locale, fmt, ap);
lib/libc/stdio/vscanf.c
53
FLOCKFILE_CANCELSAFE(stdin);
lib/libc/stdio/vscanf.c
54
retval = __svfscanf(stdin, locale, fmt, ap);
lib/libc/stdio/vwscanf.c
42
return (vfwscanf(stdin, fmt, ap));
lib/libc/stdio/vwscanf.c
47
return (vfwscanf_l(stdin, locale, fmt, ap));
lib/libc/stdio/wscanf.c
46
r = vfwscanf(stdin, fmt, ap);
lib/libc/stdio/wscanf.c
58
r = vfwscanf_l(stdin, locale, fmt, ap);
lib/libc/tests/secure/fortify_stdio_test.c
468
fread(__stack.__buf, __len, 1, stdin);
lib/libc/tests/secure/fortify_stdio_test.c
491
fread(__stack.__buf, __len, 1, stdin);
lib/libc/tests/secure/fortify_stdio_test.c
515
fread(__stack.__buf, __len, 1, stdin);
lib/libc/tests/secure/fortify_stdio_test.c
539
fread(__stack.__buf, __len, 1, stdin);
lib/libc/tests/secure/fortify_stdio_test.c
572
fread(__stack.__buf, __len, 1, stdin);
lib/libc/tests/secure/fortify_stdio_test.c
617
fread_unlocked(__stack.__buf, __len, 1, stdin);
lib/libc/tests/secure/fortify_stdio_test.c
640
fread_unlocked(__stack.__buf, __len, 1, stdin);
lib/libc/tests/secure/fortify_stdio_test.c
664
fread_unlocked(__stack.__buf, __len, 1, stdin);
lib/libc/tests/secure/fortify_stdio_test.c
688
fread_unlocked(__stack.__buf, __len, 1, stdin);
lib/libc/tests/secure/fortify_stdio_test.c
721
fread_unlocked(__stack.__buf, __len, 1, stdin);
lib/libc/tests/stdio/gets_s_test.c
72
stdin = fdopen(nfd, "r");
lib/libc/tests/stdio/gets_s_test.c
74
fclose(stdin);
lib/libdpv/dprompt.c
119
init_dialog(stdin, stdout);
lib/libdpv/dpv.c
334
init_dialog(stdin, stdout);
lib/libmp/mpasbn.c
294
line = fgetln(stdin, &linelen);
lib/libstdbuf/stdbuf.c
112
change_buf(stdin, i_mode);
lib/libstdbuf/stdbuf.c
40
if (s == stdin)
lib/libutil/fparseln.c
202
while ((ptr = fparseln(stdin, &size, &line, NULL,
libexec/fingerd/fingerd.c
105
if (!fgets(line, sizeof(line), stdin))
libexec/flua/lfbsd/lfbsd.c
254
PROCESS_SIMPLE(stdin),
libexec/pkg-serve/pkg-serve.c
73
while ((linelen = getline(&line, &linecap, stdin)) > 0) {
libexec/rbootd/rbootd.c
74
if (i != fileno(stdin) && i != fileno(stdout) &&
libexec/revnetgroup/revnetgroup.c
115
fp = stdin;
sbin/camcontrol/camcontrol.c
2704
if (fgets(str, sizeof(str), stdin) != NULL) {
sbin/camcontrol/camcontrol.c
2897
if (NULL != fgets(str, sizeof(str), stdin)) {
sbin/camcontrol/camcontrol.c
6553
if (fgets(str, sizeof(str), stdin) != NULL) {
sbin/camcontrol/camcontrol.c
7173
if (fgets(str, sizeof(str), stdin) != NULL) {
sbin/camcontrol/modeedit.c
946
if (!isatty(fileno(stdin))) {
sbin/camcontrol/modeedit.c
948
modepage_read(stdin);
sbin/camcontrol/util.c
171
if (fgets(str, sizeof(str), stdin) != NULL) {
sbin/devfs/rule.c
116
rulespec_infp(stdin, DEVFSIO_RADD, in_rsnum);
sbin/devfs/rule.c
138
rulespec_infp(stdin, DEVFSIO_RAPPLY, in_rsnum);
sbin/devfs/rule.c
276
assert(fp == stdin); /* XXX: De-hardcode "stdin" from error msg. */
sbin/devfs/rule.c
284
if (ferror(stdin))
sbin/fdisk/fdisk.c
1357
fp = stdin;
sbin/fdisk/fdisk.c
909
if (fgets(lbuf, LBUF, stdin) == NULL)
sbin/fdisk/fdisk.c
932
if (fgets(lbuf, LBUF, stdin) == NULL)
sbin/fsck_ffs/fsutil.c
139
c = getc(stdin);
sbin/fsck_ffs/fsutil.c
140
while (c != '\n' && getc(stdin) != '\n') {
sbin/fsck_ffs/fsutil.c
141
if (feof(stdin)) {
sbin/fsck_msdosfs/main.c
158
if (feof(stdin))
sbin/fsdb/fsdb.c
276
elptr = el_init("fsdb", stdin, stdout, stderr);
sbin/growfs/growfs.c
1483
fgets(reply, (int)sizeof(reply), stdin);
sbin/ipf/common/ipf_y.y
2008
fp = stdin;
sbin/ipf/common/lexer.c
730
yyin = stdin;
sbin/ipf/ipnat/ipnat_y.y
1321
fp = stdin;
sbin/ipf/ippool/ippool_y.y
634
fp = stdin;
sbin/ipf/ipscan/ipscan_y.y
519
fp = stdin;
sbin/ipf/ipsend/ipsend.c
204
langfile = stdin;
sbin/ipf/libipf/ipft_hx.c
35
tfp = stdin;
sbin/ipf/libipf/ipft_tx.c
91
tfp = stdin;
sbin/ipfw/ipfw2.c
6036
c = toupper(getc(stdin));
sbin/ipfw/ipfw2.c
6037
while (c != '\n' && getc(stdin) != '\n')
sbin/ipfw/ipfw2.c
6038
if (feof(stdin))
sbin/md5/md5.c
320
inp = stdin;
sbin/md5/md5.c
385
if (inp != stdin)
sbin/md5/md5.c
626
f = stdin;
sbin/md5/md5.c
642
if (f != stdin)
sbin/md5/md5.c
649
p = MDInput(&Algorithm[digest], stdin, buf, pflag);
sbin/nvmecontrol/firmware.c
330
fgets(prompt, sizeof(prompt), stdin);
sbin/pfctl/parse.y
7611
nfile->stream = stdin;
sbin/pfctl/pfctl_radix.c
395
fp = stdin;
sbin/pfctl/pfctl_radix.c
406
if (fp != stdin)
sbin/restore/tape.c
130
terminal = stdin;
sbin/setkey/setkey.c
123
FILE *fp = stdin;
sbin/setkey/setkey.c
137
fp = stdin;
sbin/setkey/setkey.c
140
if (fp != stdin) {
sbin/setkey/setkey.c
151
if (fp != stdin) {
sbin/shutdown/shutdown.c
213
if (!fgets(p, endp - p + 1, stdin))
secure/lib/libcrypt/crypt-blowfish.c
307
fgets(salt + 6, sizeof(salt) - 6, stdin);
secure/lib/libcrypt/crypt-blowfish.c
310
fpurge(stdin);
secure/lib/libcrypt/crypt-blowfish.c
311
fgets(blubber, sizeof(blubber), stdin);
share/examples/ipfilter/samples/userauth.c
43
if (!fgets(yn, sizeof(yn), stdin))
share/examples/ipfilter/samples/userauth.c
45
fflush(stdin);
share/examples/ppi/ppilcd.c
157
setvbuf(stdin, NULL, _IONBF, 0);
share/examples/ppi/ppilcd.c
158
while ((ch = fgetc(stdin)) != EOF)
stand/ficl/testmain.c
332
if (fgets(in, sizeof(in) - 1, stdin) == NULL)
stand/libofw/ofw_console.c
100
if (OF_read(stdin, &ch, 1) > 0 && ch != '\0')
stand/libofw/ofw_console.c
114
if (OF_read(stdin, &ch, 1) > 0) {
stand/libofw/ofw_console.c
40
static ihandle_t stdin;
stand/libofw/ofw_console.c
57
OF_getprop(chosen, "stdin", &stdin, sizeof(stdin));
sys/dev/aic7xxx/aicasm/aicasm.c
588
if (isatty(fileno(stdin)) == 0)
sys/dev/ofw/ofw_console.c
109
static pcell_t stdin;
sys/dev/ofw/ofw_console.c
171
if (OF_getencprop(chosen, "stdin", &stdin, sizeof(stdin)) == -1) {
sys/dev/ofw/ofw_console.c
212
if (OF_read(stdin, &ch, 1) > 0) {
sys/kern/subr_blist.c
1109
if (fgets(buf, sizeof(buf), stdin) == NULL)
sys/netinet/tcp_stacks/sack_filter.c
708
in = stdin;
sys/netinet/tcp_stacks/sack_filter.c
908
if (in != stdin) {
tests/sys/fs/tarfs/tarsum.c
111
in = stdin;
tools/build/bootstrap-m4/inittokenizer.c
1736
yyin = stdin;
tools/build/bootstrap-m4/inittokenizer.c
703
yyin = stdin;
tools/regression/gaithrstress/gaithrstress.c
249
(void)fgets(waiting, sizeof(waiting), stdin);
tools/regression/tmpfs/h_tools.c
128
while ((line = fgetln(stdin, &len)) != NULL) {
tools/tools/ath/athprom/athprom.c
151
if (fgets(line, sizeof(line), stdin) != NULL &&
tools/tools/fixwhite/fixwhite.c
138
if (c == EOF && ferror(stdin)) {
tools/tools/usbtest/usbtest.c
123
if (fgets(buf, sizeof(buf), stdin) == NULL)
tools/tools/usbtest/usbtest.c
141
if (fgets(ptr, size, stdin) == NULL)
tools/tools/usbtest/usbtest.c
162
if (fgets(buf, sizeof(buf), stdin) == NULL)
tools/tools/vt/mkkfont/mkkfont.c
142
if (fread(&fh, sizeof fh, 1, stdin) != 1) {
tools/tools/vt/mkkfont/mkkfont.c
52
if (fread(gbuf, total, 1, stdin) != 1) {
tools/tools/vt/mkkfont/mkkfont.c
89
if (fread(&fm, sizeof fm, 1, stdin) != 1) {
usr.bin/ar/acpyacc.y
647
interactive = isatty(fileno(stdin));
usr.bin/asa/asa.c
62
asa(stdin);
usr.bin/asa/asa.c
66
asa(stdin);
usr.bin/at/at.c
332
fpin = freopen(atinput, "r", stdin);
usr.bin/at/at.c
427
if (ferror(stdin))
usr.bin/banner/banner.c
1062
if (fgets(message, MAXMSG, stdin) == NULL) {
usr.bin/bintrans/qp.c
173
FILE *fp = stdin;
usr.bin/bintrans/uudecode.c
151
infp = stdin;
usr.bin/bintrans/uudecode.c
82
infp = stdin;
usr.bin/bintrans/uuencode.c
120
if (!freopen(*argv, "r", stdin) || fstat(fileno(stdin), &sb))
usr.bin/bintrans/uuencode.c
174
while ((n = fread(buf, 1, sizeof(buf), stdin))) {
usr.bin/bintrans/uuencode.c
209
while ((n = fread(buf, 1, 45, stdin))) {
usr.bin/bintrans/uuencode.c
240
if (ferror(stdin))
usr.bin/bintrans/uuencode.c
71
if (in != NULL && freopen(in, "r", stdin) == NULL)
usr.bin/chpass/edit.c
87
if ((line = fgetln(stdin, &len)) == NULL) {
usr.bin/col/col.c
326
if (ferror(stdin))
usr.bin/colrm/colrm.c
126
err(EXIT_FAILURE, "%s", stream == stdin ? "stdin" : "stdout");
usr.bin/colrm/colrm.c
96
check(stdin);
usr.bin/column/column.c
127
input(stdin);
usr.bin/comm/comm.c
227
return (stdin);
usr.bin/csplit/csplit.c
140
infile = stdin;
usr.bin/cut/cut.c
138
rval |= fcn(stdin, "stdin");
usr.bin/cut/cut.c
150
rval = fcn(stdin, "stdin");
usr.bin/diff/diff.c
533
fp = stdin;
usr.bin/diff/diffreg.c
341
f1 = stdin;
usr.bin/diff/diffreg.c
364
f2 = stdin;
usr.bin/diff/diffreg_new.c
308
f = stdin;
usr.bin/dtc/dtc.cc
378
fclose(stdin);
usr.bin/dtc/input_buffer.cc
134
while ((c = fgetc(stdin)) != EOF)
usr.bin/etdump/etdump.c
266
iso = stdin;
usr.bin/expand/expand.c
146
if (ferror(stdin)) {
usr.bin/expand/expand.c
86
if (freopen(argv[0], "r", stdin) == NULL) {
usr.bin/factor/factor.c
136
if (fgets(buf, sizeof(buf), stdin) == NULL) {
usr.bin/factor/factor.c
137
if (ferror(stdin))
usr.bin/fetch/fetch.c
394
if (fgets(URL->user, sizeof URL->user, stdin) == NULL)
usr.bin/fetch/fetch.c
406
nopwd = (fgets(URL->pwd, sizeof URL->pwd, stdin) == NULL);
usr.bin/fetch/fetch.c
410
nopwd = (fgets(URL->pwd, sizeof URL->pwd, stdin) == NULL);
usr.bin/find/misc.c
98
if (fgets(resp, sizeof(resp), stdin) == NULL)
usr.bin/fmt/fmt.c
392
process_stream(stdin, "standard input");
usr.bin/fold/fold.c
115
if (!freopen(*argv, "r", stdin)) {
usr.bin/from/from.c
101
mbox = stdin;
usr.bin/grep/grep.c
280
f = stdin;
usr.bin/gzip/gzip.c
1154
(void)fgets(ans, sizeof(ans) - 1, stdin);
usr.bin/gzip/gzip.c
1319
fclose(stdin);
usr.bin/head/head.c
148
head(stdin, linecnt);
usr.bin/head/head.c
150
head_bytes(stdin, bytecnt);
usr.bin/hexdump/display.c
280
length == -1 ? need : MIN(length, need), stdin);
usr.bin/hexdump/display.c
282
if (ferror(stdin))
usr.bin/hexdump/display.c
332
ungetc(c, stdin);
usr.bin/hexdump/display.c
350
if (!(freopen(*_argv, "r", stdin))) {
usr.bin/hexdump/display.c
363
if (caph_limit_stream(fileno(stdin), CAPH_READ) < 0)
usr.bin/hexdump/display.c
392
if (fstat(fileno(stdin), &sb))
usr.bin/hexdump/display.c
406
if (ioctl(fileno(stdin), FIODTYPE, &type))
usr.bin/hexdump/display.c
417
if (fseeko(stdin, skip, SEEK_SET)) {
usr.bin/iconv/iconv.c
226
res = do_conv(stdin, cd, opt_s, opt_c);
usr.bin/iconv/iconv.c
231
fopen(argv[i], "r") : stdin;
usr.bin/indent/args.c
286
input = stdin;
usr.bin/indent/indent.c
250
input = stdin;
usr.bin/indent/indent.c
252
if (input == stdin)
usr.bin/join/join.c
210
F1->fp = stdin;
usr.bin/join/join.c
215
F2->fp = stdin;
usr.bin/join/join.c
218
if (F1->fp == stdin && F2->fp == stdin)
usr.bin/kdump/kdump.c
410
if (!freopen(tracefile, "r", stdin))
usr.bin/kdump/kdump.c
470
fseek(stdin, KTR_OFFSET_V0, SEEK_CUR) < 0)
usr.bin/kdump/kdump.c
547
while ((i = fread(buf, size, num, stdin)) == 0 && tail) {
usr.bin/kdump/kdump.c
549
clearerr(stdin);
usr.bin/lam/lam.c
122
ip->fp = stdin;
usr.bin/lastcomm/lastcomm.c
127
fp = stdin;
usr.bin/leave/leave.c
74
cp = fgets(buf, sizeof(buf), stdin);
usr.bin/lex/initscan.c
2209
yyin = stdin;
usr.bin/lex/initscan.c
5114
yyin = stdin;
usr.bin/lex/initscan.c
5235
yyin = stdin;
usr.bin/localedef/scanner.c
253
c = getc(stdin);
usr.bin/localedef/scanner.c
269
if (ungetc(c, is_stdin ? stdin : input) < 0) {
usr.bin/locate/bigram/locate.bigram.c
58
while (fgets(path, sizeof(buf2), stdin) != NULL) {
usr.bin/locate/bigram/locate.bigram.c
86
if (!feof(stdin) || ferror(stdin))
usr.bin/locate/code/locate.code.c
145
while (fgets(path, sizeof(buf2), stdin) != NULL) {
usr.bin/locate/locate/locate.c
218
fp = stdin;
usr.bin/lock/lock.c
157
if (!fgets(s, sizeof(s), stdin) || *s == '\n')
usr.bin/lock/lock.c
164
(void)fgets(s1, sizeof(s1), stdin);
usr.bin/lock/lock.c
231
if (!fgets(s, sizeof(s), stdin)) {
usr.bin/lock/lock.c
232
clearerr(stdin);
usr.bin/lockf/lockf.c
291
fclose(stdin);
usr.bin/logger/logger.c
119
if (freopen(optarg, "r", stdin) == NULL)
usr.bin/logger/logger.c
121
setvbuf(stdin, 0, _IONBF, 0);
usr.bin/logger/logger.c
224
while (fgets(buf, sizeof(buf), stdin) != NULL) {
usr.bin/m4/main.c
267
set_input(infile+0, stdin, "stdin");
usr.bin/m4/main.c
274
set_input(infile, stdin, "stdin");
usr.bin/m4/misc.c
425
if (f->file != stdin)
usr.bin/mail/collect.c
155
c = readline(stdin, linebuf, sizeof(linebuf));
usr.bin/mail/collect.c
688
clearerr(stdin);
usr.bin/mail/edit.c
86
if (fgets(buf, sizeof(buf), stdin) == NULL)
usr.bin/mail/main.c
258
input = stdin;
usr.bin/mail/tty.c
106
ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
usr.bin/mail/tty.c
114
ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
usr.bin/mail/tty.c
121
ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
usr.bin/mail/tty.c
129
ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
usr.bin/mail/tty.c
144
tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
usr.bin/mail/tty.c
150
if (ioctl(fileno(stdin), TIOCEXT, &flag) < 0)
usr.bin/mail/tty.c
212
clearerr(stdin);
usr.bin/mail/tty.c
214
c = getc(stdin);
usr.bin/mail/tty.c
223
if (c == EOF && ferror(stdin)) {
usr.bin/mail/tty.c
226
clearerr(stdin);
usr.bin/mail/tty.c
77
if (tcgetattr(fileno(stdin), &ttybuf) < 0) {
usr.bin/mail/tty.c
95
if (ioctl(fileno(stdin), TIOCEXT, &flag) < 0)
usr.bin/ministat/ministat.c
634
setfiles[0] = stdin;
usr.bin/ministat/ministat.c
643
setfiles[0] = stdin;
usr.bin/ministat/ministat.c
665
if (setfiles[i] != stdin)
usr.bin/mkcsmapper/yacc.y
707
in = stdin;
usr.bin/mkesdb/yacc.y
312
in = stdin;
usr.bin/mkstr/mkstr.c
112
if (freopen(argv[0], "r", stdin) == NULL)
usr.bin/mkstr/mkstr.c
38
#define ungetchar(c) ungetc(c, stdin)
usr.bin/morse/morse.c
434
fdecode(stdin);
usr.bin/msgs/msgs.c
345
if (isatty(fileno(stdin))) {
usr.bin/msgs/msgs.c
350
fgets(inbuf, sizeof inbuf, stdin);
usr.bin/msgs/msgs.c
360
fgets(inbuf, sizeof inbuf, stdin);
usr.bin/msgs/msgs.c
361
if (feof(stdin) || ferror(stdin))
usr.bin/msgs/msgs.c
376
exit(ferror(stdin));
usr.bin/msgs/msgs.c
734
(void) fgets(inbuf, sizeof inbuf, stdin);
usr.bin/nl/nl.c
241
freopen(argv[0], "r", stdin) == NULL)
usr.bin/nl/nl.c
289
while ((linelen = getline(&buffer, &buffersize, stdin)) > 0) {
usr.bin/nl/nl.c
350
if (ferror(stdin))
usr.bin/number/number.c
92
fgets(line, sizeof(line), stdin) != NULL; first = 0) {
usr.bin/paste/paste.c
150
lp->fp = stdin;
usr.bin/paste/paste.c
212
fp = stdin;
usr.bin/paste/paste.c
234
if (fp != stdin)
usr.bin/patch/pch.c
112
while ((nr = fread(buf, 1, buf_size, stdin)) > 0) {
usr.bin/pr/pr.c
1267
if (inf != stdin)
usr.bin/pr/pr.c
1298
clearerr(stdin);
usr.bin/pr/pr.c
1299
inf = stdin;
usr.bin/pr/pr.c
1320
clearerr(stdin);
usr.bin/pr/pr.c
1321
inf = stdin;
usr.bin/pr/pr.c
1391
if (inf != stdin)
usr.bin/pr/pr.c
294
if (inf != stdin)
usr.bin/pr/pr.c
623
if (inf != stdin)
usr.bin/pr/pr.c
774
if (inf != stdin)
usr.bin/pr/pr.c
929
if (fbuf[j] != stdin)
usr.bin/primes/primes.c
171
if (fgets(buf, sizeof(buf), stdin) == NULL) {
usr.bin/primes/primes.c
172
if (ferror(stdin))
usr.bin/random/random.c
170
if (ferror(stdin))
usr.bin/rev/rev.c
66
fp = stdin;
usr.bin/rwall/rwall.c
157
if (fname && !(freopen(fname, "r", stdin)))
usr.bin/rwall/rwall.c
159
while (fgets(lbuf, sizeof(lbuf), stdin))
usr.bin/sdiff/sdiff.c
572
for (; (cmd = xfgets(stdin)); free(cmd)) {
usr.bin/sed/main.c
232
f = stdin;
usr.bin/sed/main.c
330
infile = stdin;
usr.bin/sed/main.c
344
if (infile == stdin) {
usr.bin/soelim/soelim.c
166
ret = soelim_file(stdin, flags);
usr.bin/soelim/soelim.c
59
return (stdin);
usr.bin/sort/file.c
529
return ((mode && mode[0] == 'r') ? stdin : stdout);
usr.bin/sort/file.c
575
if (f == NULL || f == stdin)
usr.bin/tail/tail.c
245
if (fstat(fileno(stdin), &sb)) {
usr.bin/tail/tail.c
254
if (lseek(fileno(stdin), (off_t)0, SEEK_CUR) == -1 &&
usr.bin/tail/tail.c
261
reverse(stdin, fn, style, off, &sb);
usr.bin/tail/tail.c
264
file.fp = stdin;
usr.bin/tail/tail.c
268
forward(stdin, fn, style, off, &sb);
usr.bin/talk/io.c
101
setvbuf(stdin, NULL, _IONBF, 0);
usr.bin/talk/io.c
107
fds[0].fd = fileno(stdin);
usr.bin/tftp/main.c
179
el = el_init("tftp", stdin, stdout, stderr);
usr.bin/tftp/main.c
352
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
440
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
550
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
631
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
658
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
751
if (fgets(line, sizeof line , stdin) == NULL) {
usr.bin/tftp/main.c
752
if (feof(stdin)) {
usr.bin/tr/tr.c
134
if (ferror(stdin))
usr.bin/tr/tr.c
152
if (ferror(stdin))
usr.bin/tr/tr.c
169
if (ferror(stdin))
usr.bin/tr/tr.c
361
if (ferror(stdin))
usr.bin/tsort/tsort.c
131
fp = stdin;
usr.bin/ul/ul.c
136
filter(stdin);
usr.bin/unexpand/unexpand.c
185
if (ferror(stdin)) {
usr.bin/unexpand/unexpand.c
86
if (freopen(filename, "r", stdin) == NULL) {
usr.bin/uniq/uniq.c
142
ifp = stdin;
usr.bin/units/units.c
827
el = el_init(argv[0], stdin, stdout, stderr);
usr.bin/vgrind/vfontedpr.c
201
if (freopen(argv[0], "r", stdin) == NULL)
usr.bin/vgrind/vfontedpr.c
293
fstat(fileno(stdin), &stbuf);
usr.bin/vgrind/vfontedpr.c
303
while (fgets(buf, sizeof buf, stdin) != NULL) {
usr.bin/wall/wall.c
229
if (freopen(fname, "r", stdin) == NULL)
usr.bin/wall/wall.c
235
while (fgetws(lbuf, sizeof(lbuf)/sizeof(wchar_t), stdin)) {
usr.bin/what/what.c
69
if (search(sflag, qflag, stdin))
usr.bin/write/write.c
134
if (isatty(fileno(stdin)))
usr.bin/write/write.c
135
myttyfd = fileno(stdin);
usr.bin/write/write.c
308
while (fgetws(line, sizeof(line)/sizeof(wchar_t), stdin) != NULL)
usr.bin/xstr/xstr.c
124
if (!readstd && freopen(argv[0], "r", stdin) == NULL)
usr.bin/xstr/xstr.c
159
if (fgets(linebuf, sizeof linebuf, stdin) == NULL) {
usr.bin/xstr/xstr.c
160
if (ferror(stdin))
usr.bin/xstr/xstr.c
241
if (fgets(linebuf, sizeof linebuf, stdin)
usr.bin/xstr/xstr.c
243
if (ferror(stdin))
usr.sbin/cdcontrol/cdcontrol.c
1174
el = el_init("cdcontrol", stdin, stdout,
usr.sbin/cdcontrol/cdcontrol.c
1197
if (! fgets (buf, sizeof (buf), stdin)) {
usr.sbin/ckdist/ckdist.c
188
fp = stdin;
usr.sbin/ckdist/ckdist.c
192
if (fp != stdin)
usr.sbin/ckdist/ckdist.c
212
if (fp != stdin && fclose(fp))
usr.sbin/ckdist/ckdist.c
290
else if ((dname = distname(fp == stdin ? NULL : path, NULL,
usr.sbin/config/config.y
320
if (freopen(PREFIX, "r", stdin) == NULL)
usr.sbin/config/main.cc
194
if (freopen("DEFAULTS", "r", stdin) != NULL) {
usr.sbin/config/main.cc
198
if (freopen(PREFIX, "r", stdin) == NULL)
usr.sbin/cron/crontab/crontab.c
202
NewCrontab = stdin;
usr.sbin/cron/crontab/crontab.c
459
(void) fgets(q, sizeof q, stdin);
usr.sbin/cxgbetool/cxgbetool.c
3819
buf = fgets(buffer, sizeof(buffer), stdin);
usr.sbin/cxgbetool/cxgbetool.c
3821
if (ferror(stdin)) {
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/fdformat/fdformat.c
126
if (!fgets (reply, sizeof(reply) - 1, stdin))
usr.sbin/fifolog/fifolog_writer/fifolog_writer.c
101
if (fgets(buf, sizeof buf, stdin) == NULL)
usr.sbin/gstat/gstat.c
193
el = el_init("gstat", stdin, stdout, stderr);
usr.sbin/i2c/i2c.c
503
if (fread(i2c_buf, 1, i2c_opt.count, stdin) != i2c_opt.count)
usr.sbin/i2c/i2c.c
731
while (fgets(buf, sizeof buf, stdin) != NULL) {
usr.sbin/jail/config.c
292
if (yyget_in(scanner) != stdin && cfname[0] != '/') {
usr.sbin/jail/config.c
329
yyset_in(stdin, scanner);
usr.sbin/lpr/filters.ru/koi2855/koi2855.c
87
ungetc(c, stdin);
usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c
88
ungetc(c, stdin);
usr.sbin/lpr/filters/lpf.c
153
ungetc(ch, stdin);
usr.sbin/lpr/filters/lpf.c
66
register FILE *p = stdin, *o = stdout;
usr.sbin/lpr/lpc/lpc.c
110
fromatty = isatty(fileno(stdin));
usr.sbin/lpr/lpc/lpc.c
152
el = el_init("lpc", stdin, stdout, stderr);
usr.sbin/lpr/lpc/lpc.c
179
if (fgets(cmdline, MAX_CMDLINE, stdin) == NULL)
usr.sbin/makefs/mtree.c
1043
fp = stdin;
usr.sbin/makefs/mtree.c
1124
if (fp != stdin)
usr.sbin/mtest/mtest.c
223
if (fgets(line, sizeof(line), stdin) != NULL) {
usr.sbin/mtest/mtest.c
225
process_cmd(line, s, s6, stdin);
usr.sbin/mtest/mtest.c
235
} while (!feof(stdin));
usr.sbin/newsyslog/newsyslog.c
897
f = stdin;
usr.sbin/ngctl/main.c
164
fp = stdin;
usr.sbin/ngctl/main.c
334
el = el_init(getprogname(), stdin, stdout, stderr);
usr.sbin/ngctl/main.c
415
if ((len = getline(&line, &sz, stdin)) <= 0) {
usr.sbin/nghook/main.c
182
fclose(stdin);
usr.sbin/pkg/pkg.c
1241
if (!isatty(fileno(stdin))) {
usr.sbin/pmcstat/pmcstat.c
1206
EV_SET(&kev, fileno(stdin), EVFILT_READ, EV_ADD, 0, 0, NULL);
usr.sbin/pmcstat/pmcstat.c
1356
if (kev.ident == (unsigned)fileno(stdin) &&
usr.sbin/pppctl/pppctl.c
591
td.edit = el_init("pppctl", stdin, stdout);
usr.sbin/pppctl/pppctl.c
594
td.edit = el_init("pppctl", stdin, stdout, stderr);
usr.sbin/quot/quot.c
403
while ((len = getline(&line, &cap, stdin)) > 0) {
usr.sbin/rrenumd/rrenumd.c
527
FILE *fp = stdin;
usr.sbin/rrenumd/rrenumd.c
560
fp = stdin;
usr.sbin/sa/pdb.c
263
cp = fgetln(stdin, &len);
usr.sbin/spi/spi.c
368
while (!err && !feof(stdin)) {
usr.sbin/spi/spi.c
588
while (!err && cbread < cbdata && (ch = fgetc(stdin)) != EOF) {
usr.sbin/spi/spi.c
593
if ((ch = fgetc(stdin)) == EOF)
usr.sbin/spi/spi.c
608
ch = fgetc(stdin);
usr.sbin/spi/spi.c
635
if (err || ferror(stdin)) {
usr.sbin/vipw/vipw.c
108
if ((line = fgetln(stdin, &len)) == NULL) {
usr.sbin/watch/watch.c
268
if (fgets(buf, DEV_NAME_LEN - 1, stdin)) {
usr.sbin/yp_mkdb/yp_mkdb.c
186
ifp = stdin;