Searched refs:fileno (Results 101 - 125 of 359) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Dcache.c291 nread = read (fileno (f), buf, nbytes);
356 sts = fstat (fileno (f), sb);
/openbsd-current/usr.bin/vi/ex/
H A Dex_read.c252 if ((fp = fopen(name, "r")) == NULL || fstat(fileno(fp), &sb)) {
264 if (file_lock(sp, NULL, NULL, fileno(fp), 0) == LOCK_UNAVAIL)
H A Dex_write.c334 if (!fstat(fileno(fp), &sb) &&
335 S_ISREG(sb.st_mode) && fsync(fileno(fp)))
/openbsd-current/usr.bin/lex/
H A Dfilter.c170 if (dup2(pipes[0], fileno(stdin)) == -1)
191 if (dup2(pipes[1], fileno(stdout)) == -1)
/openbsd-current/gnu/usr.bin/perl/
H A Dfakesdio.h26 #undef fileno macro
101 #define fileno(f) PerlIO_fileno(f) macro
/openbsd-current/games/sail/
H A Dmisc.c206 if (flock(fileno(fp), LOCK_EX) == -1)
239 (void) flock(fileno(fp), LOCK_UN);
/openbsd-current/usr.bin/ftp/
H A Druserpass.c156 fstat(fileno(cfile), &stb) >= 0 &&
170 if (fstat(fileno(cfile), &stb) >= 0
H A Dmain.c391 fromatty = isatty(fileno(stdin));
401 if (isatty(fileno(ttyout)) && !dumb_terminal && foregroundproc())
681 write(fileno(ttyout), "\n\r", 2);
696 (void)shutdown(fileno(cout), SHUT_RDWR);
710 (void)shutdown(fileno(cout), SHUT_RDWR);
/openbsd-current/games/atc/
H A Dmain.c154 tcgetattr(fileno(stdin), &tty_start);
160 tcsetattr(fileno(stdin), TCSADRAIN, &tty_new);
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/t/
H A Dsysconf.t119 my $fd = fileno($LEXTTY);
/openbsd-current/lib/libc/stdio/
H A DMakefile.inc9 fgetln.c fgetpos.c fgets.c fileno.c findfp.c flags.c fmemopen.c \
/openbsd-current/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfilingUtil.c191 fd = fileno(F);
201 fd = fileno(F);
/openbsd-current/sbin/dump/
H A Ditime.c89 (void) flock(fileno(df), LOCK_SH);
172 fd = fileno(df);
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/
H A Dcachepropagate-unix.t116 my $new = IO::Socket::UNIX->new_from_fd($listener->fileno(), 'r+');
/openbsd-current/gnu/usr.bin/texinfo/info/
H A Dman.c326 dup2 (pipes[1], fileno (stdout));
343 int save_stderr = dup (fileno (stderr));
347 dup2 (fd_err, fileno (stderr)); /* Don't print errors. */
354 dup2 (save_stderr, fileno (stderr));
357 formatted_page = read_from_fd (fileno (fpipe));
/openbsd-current/bin/ksh/
H A Dhistory.c634 while (flock(fileno(histfh), operation) != 0) {
680 if (fstat(fileno(histfh), &sb) != -1) {
709 fstat(fileno(histfh), &last_sb);
848 if (ftruncate(fileno(histfh), 0) == -1) {
865 fstat(fileno(histfh), &last_sb);
/openbsd-current/gnu/lib/libstdc++/libstdc++/config/io/
H A Dbasic_file_stdio.cc171 { return fileno(_M_cfile) ; }
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Dbfdwin.c156 fd = fileno (f);
/openbsd-current/gnu/usr.bin/binutils/gdb/tui/
H A Dtui-file.c129 return (isatty (fileno (stream->ts_filestream)));
/openbsd-current/usr.sbin/amd/amd/
H A Dinfo_file.c195 if (fstat(fileno(mapf), &stb) < 0)
/openbsd-current/games/banner/
H A Dbanner.c1159 if (isatty(fileno(stdin)))
/openbsd-current/usr.bin/uuencode/
H A Duuencode.c107 if (!freopen(*argv, "r", stdin) || fstat(fileno(stdin), &sb))
/openbsd-current/gnu/llvm/clang/bindings/python/tests/cindex/
H A Dtest_cdb.py31 os.dup2(null.fileno(), 2)
/openbsd-current/gnu/llvm/compiler-rt/lib/fuzzer/dataflow/
H A DDataFlow.cpp101 backtrace_symbols_fd(Buf, 1, fileno(Pipe));
/openbsd-current/bin/cat/
H A Dcat.c218 wfd = fileno(stdout);

Completed in 814 milliseconds

1234567891011>>