Searched refs:stdin (Results 351 - 375 of 708) sorted by relevance

<<11121314151617181920>>

/freebsd-10.2-release/usr.bin/comm/
H A Dcomm.c237 return (stdin);
/freebsd-10.2-release/usr.bin/dtc/
H A Dinput_buffer.cc259 while ((c = fgetc(stdin)) != EOF)
/freebsd-10.2-release/usr.bin/join/
H A Djoin.c220 /* Open the files; "-" means stdin. */
222 F1->fp = stdin;
227 F2->fp = stdin;
230 if (F1->fp == stdin && F2->fp == stdin)
231 errx(1, "only one input file may be stdin");
/freebsd-10.2-release/usr.bin/lastcomm/
H A Dlastcomm.c139 fp = stdin;
/freebsd-10.2-release/contrib/openpam/lib/libpam/
H A Dopenpam_ttyconv.c213 * Accept a response from the user on a non-tty stdin.
267 if ((ch = getchar()) == EOF && ferror(stdin)) {
285 * Determine whether stdin is a tty; if not, try to open the tty; in
296 fpurge(stdin);
/freebsd-10.2-release/contrib/opie/
H A Dopiepasswd.c387 if (!passwd[0] || feof(stdin)) {
401 if (feof(stdin)) {
/freebsd-10.2-release/crypto/openssl/crypto/bio/
H A Dbss_file.c60 * 03-Dec-1997 rdenny@dc3.com Fix bug preventing use of stdin/stdout
312 if ((size_t)ptr >= (size_t)stdin &&
313 (size_t)ptr < (size_t)(stdin + _IOB_ENTRIES))
341 /* Dangerous to set stdin/stdout to raw (unless redirected) */
/freebsd-10.2-release/contrib/ncurses/progs/
H A Dtoe.c385 if (freopen(report_file, "r", stdin) == 0) {
393 _nc_read_entry_source(stdin, 0, FALSE, FALSE, NULLHOOK);
/freebsd-10.2-release/contrib/binutils/binutils/
H A Dstrings.c70 /* Some platforms need to put stdin into binary mode, to read
303 SET_BINARY (fileno (stdin));
305 print_strings ("{standard input}", stdin, 0, 0, 0, (char *) NULL);
712 fprintf (stream, _(" Display printable strings in [file(s)] (stdin by default)\n"));
/freebsd-10.2-release/contrib/atf/atf-sh/
H A Datf-check_test.sh381 atf_test_case stdin
384 atf_set "descr" "Tests that stdin is preserved"
389 atf_fail "atf-check does not seem to respect stdin"
436 atf_add_test_case stdin
/freebsd-10.2-release/share/examples/ppi/
H A Dppilcd.c158 debug(2, "reading input from stdin");
159 setvbuf(stdin, NULL, _IONBF, 0);
160 while ((ch = fgetc(stdin)) != EOF)
/freebsd-10.2-release/usr.bin/sed/
H A Dmain.c324 /* stdin? */
327 errx(1, "-I or -i may not be used with stdin");
328 infile = stdin;
329 fname = "stdin";
342 if (infile == stdin) {
/freebsd-10.2-release/usr.sbin/pkg_install/version/
H A Dperform.c376 fp = stdin;
391 fp = stdin;
/freebsd-10.2-release/usr.bin/cut/
H A Dcut.c145 rval |= fcn(stdin, "stdin");
157 rval = fcn(stdin, "stdin");
/freebsd-10.2-release/contrib/bzip2/
H A Dbzip2.c189 /*-- source modes; F==file, I==stdin, O==stdout --*/
532 if (zStream != stdin) fclose(zStream);
625 if (zStream != stdin) fclose(zStream);
1147 copyFileName ( inName, (Char*)"(stdin)" );
1228 inStr = stdin;
1331 copyFileName ( inName, (Char*)"(stdin)" );
1414 inStr = stdin;
1416 if ( isatty ( fileno ( stdin ) ) ) {
1525 case SM_I2O: copyFileName ( inName, (Char*)"(stdin)" ); break;
1557 if ( isatty ( fileno ( stdin ) ) ) {
[all...]
/freebsd-10.2-release/lib/libz/test/
H A Dminigzip.c605 SET_BINARY_MODE(stdin);
608 file = gzdopen(fileno(stdin), "rb");
609 if (file == NULL) error("can't gzdopen stdin");
614 gz_compress(stdin, file);
/freebsd-10.2-release/sbin/fdisk_pc98/
H A Dfdisk.c773 if (fgets(lbuf, LBUF, stdin) == NULL)
794 if (fgets(lbuf, LBUF, stdin) == NULL)
831 fgets(lbuf, LBUF, stdin);
/freebsd-10.2-release/bin/pax/
H A Doptions.c641 * treat a - as stdin
820 /* Traditional tar behaviour (pax wants to read file list from stdin) */
871 fp = stdin;
944 fp = stdin;
1179 * treat a - as stdin
1261 while ((str = getline(stdin)) != NULL) {
1265 paxwarn(1, "Problem while reading stdin");
/freebsd-10.2-release/usr.bin/unzip/
H A Dunzip.c429 if (fgets(buf, sizeof(buf), stdin) == NULL) {
430 clearerr(stdin);
456 len = getdelim(path, &alen, '\n', stdin);
/freebsd-10.2-release/usr.sbin/mtest/
H A Dmtest.c224 if (fgets(line, sizeof(line), stdin) != NULL) {
226 process_cmd(line, s, s6, stdin);
236 } while (!feof(stdin));
/freebsd-10.2-release/contrib/ofed/management/opensm/opensm/
H A Dmain.c421 fflush(stdin);
430 fflush(stdin);
/freebsd-10.2-release/crypto/heimdal/kadmin/
H A Dutil.c593 if(fgets(buf, len, stdin) == NULL) {
595 if(ferror(stdin))
596 krb5_err(context, 1, save_errno, "<stdin>");
/freebsd-10.2-release/contrib/texinfo/info/
H A Dterminal.c706 tty = fileno (stdin);
844 tty = fileno (stdin);
/freebsd-10.2-release/sbin/setkey/
H A Dsetkey.c107 FILE *fp = stdin;
121 fp = stdin;
/freebsd-10.2-release/contrib/ncurses/ncurses/tty/
H A Dhashmap.c460 if (isatty(fileno(stdin)))
468 if (fgets(line, sizeof(line), stdin) == (char *) NULL)

Completed in 171 milliseconds

<<11121314151617181920>>