Searched refs:stdin (Results 251 - 275 of 708) sorted by relevance

<<11121314151617181920>>

/freebsd-10.2-release/gnu/usr.bin/grep/
H A Dexclude.c97 in = stdin;
/freebsd-10.2-release/sys/contrib/xz-embedded/userspace/
H A Dxzminidec.c33 fputs("Uncompress a .xz file from stdin to stdout.\n"
60 b.in_size = fread(in, 1, sizeof(in), stdin);
/freebsd-10.2-release/usr.bin/tr/
H A Dtr.c138 if (ferror(stdin))
156 if (ferror(stdin))
173 if (ferror(stdin))
330 if (ferror(stdin))
/freebsd-10.2-release/tools/tools/fixwhite/
H A Dfixwhite.c140 if (c == EOF && ferror(stdin)) {
/freebsd-10.2-release/usr.bin/dc/
H A Ddc.c135 src_setstream(&src, stdin);
/freebsd-10.2-release/secure/lib/libcrypt/
H A Dcrypt-blowfish.c310 fgets(salt + 6, sizeof(salt) - 6, stdin);
313 fpurge(stdin);
314 fgets(blubber, sizeof(blubber), stdin);
/freebsd-10.2-release/contrib/libpcap/
H A Dsavefile.c166 if (p->sf.rfile != stdin)
181 fp = stdin;
204 if (fp != stdin)
/freebsd-10.2-release/bin/ed/
H A Dio.c207 /* get_extended_line: get an extended line from stdin */
250 /* get_tty_line: read a line of text from stdin; return line length */
271 if (ferror(stdin)) {
272 fprintf(stderr, "stdin: %s\n", strerror(errno));
273 errmsg = "cannot read stdin";
274 clearerr(stdin);
278 clearerr(stdin);
/freebsd-10.2-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.2-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.2-release/usr.bin/paste/
H A Dpaste.c143 lp->fp = stdin;
209 fp = stdin;
231 if (fp != stdin)
/freebsd-10.2-release/usr.bin/write/
H A Dwrite.c90 if (isatty(fileno(stdin)))
91 myttyfd = fileno(stdin);
275 while (fgetws(line, sizeof(line)/sizeof(wchar_t), stdin) != NULL)
/freebsd-10.2-release/usr.sbin/lpr/lpc/
H A Dlpc.c122 fromatty = isatty(fileno(stdin));
164 el = el_init("lpc", stdin, stdout, stderr);
191 if (fgets(cmdline, MAX_CMDLINE, stdin) == NULL)
/freebsd-10.2-release/contrib/gdb/gdb/
H A Dmain.c110 quit_command (NULL, instream == stdin);
189 instream = stdin;
198 gdb_stdin = stdio_fileopen (stdin);
724 read_command_file (stdin);
786 quit_command ((char *) 0, instream == stdin);
/freebsd-10.2-release/usr.bin/msgs/
H A Dmsgs.c361 if (isatty(fileno(stdin))) {
366 fgets(inbuf, sizeof inbuf, stdin);
376 fgets(inbuf, sizeof inbuf, stdin);
377 if (feof(stdin) || ferror(stdin))
392 exit(ferror(stdin));
750 (void) fgets(inbuf, sizeof inbuf, stdin);
/freebsd-10.2-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.2-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.2-release/crypto/heimdal/appl/ftp/ftp/
H A Dmain.c128 fromatty = isatty(fileno(stdin));
239 if(fgets(buf, sizeof(buf), stdin) == NULL)
295 if (fgets(line, sizeof line, stdin) == NULL)
/freebsd-10.2-release/include/
H A Dstdio.h223 #define stdin __stdinp macro
500 #define getchar() getc(stdin)
517 #define getchar_unlocked() getc_unlocked(stdin)
/freebsd-10.2-release/tools/tools/usbtest/
H A Dusbtest.c124 if (fgets(buf, sizeof(buf), stdin) == NULL)
142 if (fgets(ptr, size, stdin) == NULL)
163 if (fgets(buf, sizeof(buf), stdin) == NULL)
/freebsd-10.2-release/contrib/libucl/tests/
H A Dtest_basic.c70 in = stdin;
/freebsd-10.2-release/contrib/libyaml/tests/
H A Dexample-reformatter.c76 yaml_parser_set_input_file(&parser, stdin);
/freebsd-10.2-release/contrib/ntp/libjsmn/example/
H A Djsondump.c8 * An example of reading JSON from stdin and printing its content to stdout.
71 r = fread(buf, 1, sizeof(buf), stdin);
/freebsd-10.2-release/contrib/netbsd-tests/lib/libc/stdlib/
H A Dh_getopt.c55 while ((line = fparseln(stdin, &len, &lineno, NULL, 0)) != NULL) {
/freebsd-10.2-release/contrib/tcp_wrappers/
H A Dsafe_finger.c97 fclose(stdin);
145 /* pipe_stdin - pipe stdin through program (from my ANSI to OLD C converter) */
190 (void) close(0); /* connect stdin to pipe */

Completed in 805 milliseconds

<<11121314151617181920>>