Searched refs:stdin (Results 1 - 25 of 710) sorted by last modified time

1234567891011>>

/freebsd-10.0-release/secure/lib/libcrypt/
H A Dcrypt-blowfish.c291 fgets(salt + 6, 94, stdin);
294 fpurge(stdin);
295 fgets(blubber, 73, stdin);
/freebsd-10.0-release/include/
H A Dstdio.h223 #define stdin __stdinp macro
500 #define getchar() getc(stdin)
517 #define getchar_unlocked() getc_unlocked(stdin)
/freebsd-10.0-release/secure/usr.bin/bdes/
H A Dbdes.c112 #define READ(buf, n) fread(buf, sizeof(char), n, stdin)
543 (void)ungetc(c, stdin);
615 (void)ungetc(c, stdin);
749 (void)ungetc(c, stdin);
841 (void)ungetc(c, stdin);
935 (void)ungetc(c, stdin);
/freebsd-10.0-release/usr.bin/ar/
H A Dacpyacc.y652 interactive = isatty(fileno(stdin));
/freebsd-10.0-release/usr.bin/at/
H A Dat.c331 fpin = freopen(atinput, "r", stdin);
399 * commands the user supplies from stdin.
427 if (ferror(stdin))
/freebsd-10.0-release/usr.bin/bc/
H A Dbc.y1194 el = el_init("bc", stdin, stderr, stderr);
H A Dscan.l264 if (yyin != NULL && yyin != stdin)
275 yyin = stdin;
277 filename = "stdin";
287 if (yyin == stdin && interactive) {
/freebsd-10.0-release/usr.bin/kdump/
H A Dkdump.c263 if (!freopen(tracefile, "r", stdin))
417 while ((i = fread(buf, size, num, stdin)) == 0 && tail) {
419 clearerr(stdin);
/freebsd-10.0-release/usr.bin/lastcomm/
H A Dlastcomm.c139 fp = stdin;
/freebsd-10.0-release/usr.bin/logger/
H A Dlogger.c112 if (freopen(optarg, "r", stdin) == NULL)
114 setvbuf(stdin, 0, _IONBF, 0);
171 while (fgets(buf, sizeof(buf), stdin) != NULL)
/freebsd-10.0-release/usr.bin/ministat/
H A Dministat.c461 f = stdin;
462 n = "<stdin>";
464 f = stdin;
465 n = "<stdin>";
/freebsd-10.0-release/usr.bin/mkcsmapper/
H A Dyacc.y710 in = stdin;
/freebsd-10.0-release/usr.bin/mkstr/
H A Dmkstr.c51 #define ungetchar(c) ungetc(c, stdin)
125 if (freopen(argv[0], "r", stdin) == NULL)
/freebsd-10.0-release/usr.bin/pr/
H A Dpr.c305 if (inf != stdin)
626 if (inf != stdin)
768 if (inf != stdin)
916 if (fbuf[j] != stdin)
1230 * file is closed at EOF (if not stdin).
1249 if (inf != stdin)
1280 clearerr(stdin);
1281 inf = stdin;
1302 clearerr(stdin);
1303 inf = stdin;
[all...]
/freebsd-10.0-release/usr.bin/vgrind/
H A Dvfontedpr.c215 if (freopen(argv[0], "r", stdin) == NULL)
307 fstat(fileno(stdin), &stbuf);
317 while (fgets(buf, sizeof buf, stdin) != NULL) {
/freebsd-10.0-release/usr.bin/xargs/
H A Dxargs.c219 * the maximum arguments to be read from stdin and the trailing
255 * Allocate buffer space for the arguments read from stdin and the
576 err(1, "can't dup2 to stdin");
/freebsd-10.0-release/usr.bin/csplit/
H A Dcsplit.c141 infile = stdin;
142 infn = "stdin";
/freebsd-10.0-release/usr.bin/hexdump/
H A Ddisplay.c278 length == -1 ? need : MIN(length, need), stdin);
280 if (ferror(stdin))
328 ungetc(c, stdin);
346 if (!(freopen(*_argv, "r", stdin))) {
359 doskip(statok ? *_argv : "stdin", statok);
375 if (fstat(fileno(stdin), &sb))
384 if (fseeko(stdin, skip, SEEK_SET))
/freebsd-10.0-release/usr.bin/lex/
H A Dinitscan.c2239 yyin = stdin;
2363 buf_linedir( &top_buf, infilename?infilename:"<stdin>", linenum);
5063 yyin = stdin;
5171 /* set_input_file - open the given file (if NULL, stdin) for scanning */
5187 yyin = stdin;
5188 infilename = copy_string( "<stdin>" );
/freebsd-10.0-release/usr.bin/mklocale/
H A Dyacc.y247 if (freopen(av[optind], "r", stdin) == 0)
/freebsd-10.0-release/usr.bin/nl/
H A Dnl.c245 if (freopen(argv[0], "r", stdin) == NULL)
288 while ((linelen = getline(&buffer, &buffersize, stdin)) > 0) {
349 if (ferror(stdin))
/freebsd-10.0-release/usr.bin/paste/
H A Dpaste.c143 lp->fp = stdin;
209 fp = stdin;
231 if (fp != stdin)
/freebsd-10.0-release/usr.bin/patch/
H A Dpch.c110 while ((nr = fread(buf, 1, buf_size, stdin)) > 0) {
/freebsd-10.0-release/usr.bin/tftp/
H A Dmain.c342 fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
430 fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
524 fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
603 fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
630 fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
718 el = el_init("tftp", stdin, stdout, stderr);
737 if (fgets(line, sizeof line , stdin) == NULL) {
738 if (feof(stdin)) {
/freebsd-10.0-release/usr.bin/uuencode/
H A Duuencode.c103 if (!freopen(*argv, "r", stdin) || fstat(fileno(stdin), &sb))
156 while ((n = fread(buf, 1, sizeof(buf), stdin))) {
179 while ((n = fread(buf, 1, 45, stdin))) {
210 if (ferror(stdin))

Completed in 231 milliseconds

1234567891011>>