/openbsd-current/gnu/usr.bin/binutils/include/mpw/ |
H A D | mpw.h | 51 #ifndef fileno 52 #define fileno(fp) ((fp)->_file) macro
|
/openbsd-current/gnu/usr.bin/perl/ext/IPC-Open3/t/ |
H A D | fd.t | 40 open3('<&' . fileno FOO, my \$out, undef, \$ENV{PERLEXE}, '-eprint scalar <STDIN>');
|
/openbsd-current/gnu/usr.bin/perl/cpan/File-Temp/t/ |
H A D | mktemp.t | 23 print "# MKSTEMP: FH is $fh File is $template fileno=".fileno($fh)."\n"; 71 print "# MKSTEMPS: File is $template -> $fname fileno=".fileno($fh)."\n";
|
/openbsd-current/gnu/usr.bin/perl/cpan/IO-Socket-IP/t/ |
H A D | 18fdopen.t | 19 $s2->fdopen( $s1->fileno, 'r' ) or die "Cannot fdopen - $!";
|
/openbsd-current/gnu/usr.sbin/mkhybrid/src/diag/ |
H A D | isoinfo.c | 126 lseek(fileno(infile), (block - sector_offset) << 11, 0); 127 read(fileno(infile), buffer, size); 261 lseek(fileno(infile), (cont_extent - sector_offset) << 11, 0); 262 read(fileno(infile), sector, sizeof(sector)); 381 lseek(fileno(infile), (extent - sector_offset) << 11, 0); 383 read(fileno(infile), buff, tlen); 403 lseek(fileno(infile), (extent - sector_offset) << 11, 0); 404 read(fileno(infile), buffer, sizeof(buffer)); 590 lseek(fileno(infile), (16 + toc_offset) <<11, 0); 591 read(fileno(infil [all...] |
H A D | isodump.c | 307 lseek(fileno(infile), cont_extent * blocksize, 0); 308 read(fileno(infile), sector, sizeof(sector)); 345 lseek(fileno(infile), file_addr, 0); 346 read(fileno(infile), buffer, sizeof(buffer)); 402 lseek(fileno(infile), file_addr, 0); 403 read(fileno(infile), &ipd, sizeof(ipd));
|
/openbsd-current/usr.sbin/dhcpd/ |
H A D | db.c | 175 if (fsync(fileno(db_file)) == -1) { 223 ftruncate(fileno(db_file), ftello(db_file)); 224 fsync(fileno(db_file));
|
/openbsd-current/games/hangman/ |
H A D | setup.c | 79 fstat(fileno(Dict), &sbuf);
|
/openbsd-current/gnu/usr.bin/perl/os2/OS2/OS2-Process/t/ |
H A D | os2_process_kid.t | 28 #my @fn = map fileno $_, @nfd; 35 my ($e_r, $e_w) = map fileno $_, $stderr_r, $stderr_w; 47 my @fn = (map fileno $_, $stdout_w, $stderr_w);
|
/openbsd-current/gnu/usr.bin/perl/t/run/ |
H A D | cloexec.t | 122 my $parentfd2 = fileno FHPARENT2; 123 defined $parentfd2 or die "fileno: $!"; 132 my $parentfd1 = fileno FHPARENT1; 133 defined $parentfd1 or die "fileno: $!"; 141 $parentfd2 = fileno FHPARENT2; 142 defined $parentfd2 or die "fileno: $!"; 152 $parentfd1 = fileno FHPARENT1; 153 defined $parentfd1 or die "fileno: $!";
|
/openbsd-current/usr.bin/write/ |
H A D | write.c | 69 if (isatty(fileno(stdin))) 70 myttyfd = fileno(stdin); 71 else if (isatty(fileno(stdout))) 72 myttyfd = fileno(stdout); 73 else if (isatty(fileno(stderr))) 74 myttyfd = fileno(stderr);
|
/openbsd-current/lib/libcurses/base/ |
H A D | lib_newterm.c | 207 _setmode(fileno(_ifp), _O_BINARY); 208 _setmode(fileno(_ofp), _O_BINARY); 215 fileno(_ofp), &errret, FALSE) != ERR) { 295 SP_PARM->_ifd = fileno(_ifp); 296 NCURSES_SP_NAME(typeahead) (NCURSES_SP_ARGx fileno(_ifp));
|
/openbsd-current/usr.bin/tail/ |
H A D | tail.c | 157 fstat(fileno(tf[i].fp), &(tf[i].sb))) { 175 if (fstat(fileno(stdin), &(tf[0].sb))) { 184 if (lseek(fileno(tf[0].fp), (off_t)0, SEEK_CUR) == -1 &&
|
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/ |
H A D | cachepropagate-udp.t | 24 my $new = IO::Socket::INET->new_from_fd($listener->fileno(), 'r+');
|
H A D | io_poll.t | 14 my $dupout = IO::Handle->new_from_fd(fileno($stdout),"w");
|
/openbsd-current/usr.sbin/smtpd/ |
H A D | compress_gzip.c | 120 gzf = gzdopen(fileno(out), "wb"); 150 gzf = gzdopen(fileno(in), "r");
|
/openbsd-current/gnu/usr.bin/perl/ext/PerlIO-via/t/ |
H A D | via.t | 43 my $fd = open($fh,'>',$tmp) && fileno($fh); 50 # Now open normally again to see if we get right fileno 51 my $fd2 = open($fh,'<',$tmp) && fileno($fh);
|
/openbsd-current/gnu/lib/libreadline/ |
H A D | input.c | 178 tty = fileno (rl_instream); 275 tty = fileno (rl_instream); 433 result = read (fileno (stream), &c, sizeof (unsigned char)); 462 if (sh_unset_nodelay_mode (fileno (stream)) < 0)
|
/openbsd-current/gnu/usr.bin/binutils/bfd/ |
H A D | bfdio.c | 91 return read (fileno (file), where, a * b); 232 result = fstat (fileno (f), statbuf); 388 if (0 != fstat (fileno (fp), &buf)) 438 if (0 != fstat (fileno (fp), & buf))
|
/openbsd-current/gnu/usr.bin/perl/ext/Opcode/t/ |
H A D | Opcode.t | 78 $s1 = opset(qw(fileno padsv padav)); 94 opmask_add(opset(qw(fileno))); # add to global op_mask 95 is(eval 'fileno STDOUT', undef); 96 like($@, qr/'fileno' trapped/);
|
/openbsd-current/usr.bin/talk/ |
H A D | io.c | 75 fds[0].fd = fileno(stdin);
|
/openbsd-current/gnu/usr.bin/perl/win32/ |
H A D | perlglob.c | 51 fd = fileno(stdout); 53 fileno() implementation in VC 2003 is 2 blind pointer derefs so it will
|
/openbsd-current/libexec/login_skey/ |
H A D | login_skey.c | 172 send_fd(fileno(back)); 181 while (cp < ep && read(fileno(back), cp, 1) == 1) { 196 while (cp < ep && read(fileno(back), cp, 1) == 1) { 292 *(int *)CMSG_DATA(cmp) = fileno(skey.keyfile);
|
/openbsd-current/usr.bin/tic/ |
H A D | tty_settings.c | 84 my_fd = fileno(stdout);
|
/openbsd-current/usr.bin/dc/ |
H A D | dc.c | 101 if (fstat(fileno(file), &st) == -1)
|