/openbsd-current/gnu/usr.sbin/mkhybrid/src/diag/ |
H A D | isovfy.c | 283 lseek(fileno(infile), cont_extent * blocksize, 0); 284 read(fileno(infile), sector, sizeof(sector)); 333 lseek(fileno(infile), file_addr, 0); 334 read(fileno(infile), buffer, sizeof(buffer)); 489 lseek(fileno(infile), typel_extent * blocksize, 0); 490 read(fileno(infile), typel, path_table_size); 493 lseek(fileno(infile), typem_extent * blocksize, 0); 494 read(fileno(infile), typem, path_table_size); 548 lseek(fileno(infile), file_addr, 0); 549 read(fileno(infil [all...] |
H A D | dump.c | 105 lseek(fileno(infile), file_addr, 0); 106 read(fileno(infile), buffer, sizeof(buffer));
|
/openbsd-current/gnu/lib/libreadline/ |
H A D | rltty.c | 643 tty = fileno (rl_instream); 685 tty = fileno (rl_instream); 715 int fildes = fileno (rl_outstream); 748 int fildes = fileno (rl_instream); 785 int tty = fileno (rl_instream); 878 if (_get_tty_settings (fileno (rl_instream), &sigstty) < 0) 886 if (_set_tty_settings (fileno (rl_instream), &nosigstty) < 0) 887 return (_set_tty_settings (fileno (rl_instream), &sigstty)); 901 r = _set_tty_settings (fileno (rl_instream), &sigstty);
|
/openbsd-current/lib/libedit/ |
H A D | el.c | 69 el->el_infd = fileno(fin); 70 el->el_outfd = fileno(fout); 71 el->el_errfd = fileno(ferr); 327 el->el_infd = fileno(fp); 331 el->el_outfd = fileno(fp); 335 el->el_errfd = fileno(fp);
|
/openbsd-current/regress/lib/libz/ |
H A D | minigzip.c | 38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 54 # define fileno(file) file->__file macro 57 # include <unix.h> /* for fileno */ 311 int ifd = fileno(in); 536 file = gzdopen(fileno(stdin), "rb"); 540 file = gzdopen(fileno(stdout), outmode); 566 file = gzdopen(fileno(stdout), outmode);
|
/openbsd-current/gnu/gcc/fixincludes/ |
H A D | system.h | 97 # undef fileno macro 98 # define fileno(Stream) fileno_unlocked (Stream) macro
|
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/t/ |
H A D | unimplemented.t | 34 [fileno => \'IO::Handle::fileno'],
|
/openbsd-current/gnu/usr.bin/perl/t/io/ |
H A D | nargv.t | 124 print +(fileno($f3) < 20 ? "ok" : "not ok"), " 7 check fd leak\n";
|
/openbsd-current/usr.bin/htpasswd/ |
H A D | htpasswd.c | 162 if (flock(fileno(in), LOCK_EX|LOCK_NB) == -1) 193 if (ftruncate(fileno(in), 0) == -1)
|
/openbsd-current/gnu/llvm/compiler-rt/lib/fuzzer/afl/ |
H A D | afl_driver.cpp | 146 dup2(fileno(temp), fd); 155 int output_fileno = fileno(output_file);
|
/openbsd-current/gnu/llvm/compiler-rt/lib/profile/ |
H A D | InstrProfilingPort.h | 29 #define COMPILER_RT_FTRUNCATE(f, l) _chsize(fileno(f), l) 33 #define COMPILER_RT_FTRUNCATE(f, l) ftruncate(fileno(f), l)
|
/openbsd-current/gnu/usr.bin/perl/lib/ |
H A D | FileHandle.t | 23 print $mystdout "ok ".fileno($mystdout),
|
/openbsd-current/gnu/usr.bin/perl/ |
H A D | nostdio.h | 41 #undef fileno macro 115 #define fileno(f) _CANNOT _fileno_ macro
|
/openbsd-current/usr.bin/lastcomm/ |
H A D | lastcomm.c | 87 if ((fp = fopen(acctfile, "r")) == NULL || fstat(fileno(fp), &sb)) 105 if (lseek(fileno(fp), size, SEEK_SET) == -1)
|
/openbsd-current/usr.bin/tftp/ |
H A D | tftpsubs.c | 146 b->counter = read(fileno(file), dp->th_data, segment_size); 223 return (write(fileno(file), buf, count));
|
/openbsd-current/usr.bin/telnet/ |
H A D | terminal.c | 78 tcflush(fileno(stdout), TCOFLUSH);
|
/openbsd-current/regress/lib/libpthread/select/ |
H A D | select.c | 79 int fd = fileno((FILE *) arg);
|
/openbsd-current/gnu/llvm/llvm/utils/lit/lit/builtin_commands/ |
H A D | cat.py | 52 msvcrt.setmode(sys.stdout.fileno(),os.O_BINARY)
|
/openbsd-current/usr.sbin/amd/amd/ |
H A D | host_ops.c | 508 (void) dup(fileno(logfp)); 509 if (fileno(logfp) != fileno(stderr)) { 511 (void) dup(fileno(logfp));
|
/openbsd-current/gnu/usr.bin/perl/cpan/Archive-Tar/bin/ |
H A D | ptar | 57 $file->fdopen(fileno(STDOUT),"w"); 72 $file->fdopen(fileno(STDIN),"r");
|
/openbsd-current/usr.bin/mail/ |
H A D | tty.c | 96 tty.fdin = fileno(stdin); 97 tty.fdout = fileno(stdout); 119 if (ioctl(fileno(stdin), TIOCEXT, &flag) == -1) 155 if (ioctl(fileno(stdin), TIOCEXT, &flag) == -1)
|
/openbsd-current/games/atc/ |
H A D | log.c | 147 if (flock(fileno(score_fp), LOCK_EX) == -1) 242 flock(fileno(score_fp), LOCK_UN); 244 fsync(fileno(score_fp));
|
/openbsd-current/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/ |
H A D | popen_spawn.py | 102 fileno = self.proc.stdout.fileno() 106 buf = os.read(fileno, 1024)
|
/openbsd-current/lib/libcrypto/ui/ |
H A D | ui_openssl.c | 308 if (tcgetattr(fileno(tty_in), &tty_orig) == -1) { 332 if (is_a_tty && (tcsetattr(fileno(tty_in), TCSANOW, &tty_new) == -1)) 340 if (is_a_tty && (tcsetattr(fileno(tty_in), TCSANOW, &tty_orig) == -1))
|
/openbsd-current/lib/libskey/ |
H A D | skeysubr.c | 362 (void) tcgetattr(fileno(stdin), &term); 365 (void) tcsetattr(fileno(stdin), TCSAFLUSH|TCSASOFT, &term); 370 (void) tcsetattr(fileno(stdin), TCSAFLUSH|TCSASOFT, &term);
|