/openbsd-current/usr.sbin/smtpd/ |
H A D | ssl.c | 132 if (fstat(fileno(fp), &st) != 0)
|
/openbsd-current/usr.bin/make/ |
H A D | lowparse.c | 170 if (fileno(istream->F) != STDIN_FILENO)
|
/openbsd-current/lib/libcurses/tty/ |
H A D | lib_tstp.c | 275 && NC_ISATTY(fileno(scan->_ofp))) {
|
H A D | hashmap.c | 502 if (setupterm(NULL, fileno(stdout), (int *) 0) == ERR) 512 if (NC_ISATTY(fileno(stdin)))
|
/openbsd-current/bin/pax/ |
H A D | gen_subs.c | 178 if (isatty(fileno(fp))) {
|
/openbsd-current/gnu/usr.bin/perl/ |
H A D | perlio.c | 126 if (PerlLIO_setmode(fileno(fp), mode) != -1) { 1389 Perl_PerlIO_or_Base(f, Fileno, fileno, -1, (aTHX_ f)); 2946 int fd0 = fileno(stdio); 2991 fd0 = fileno(stdio); 3026 PerlIOUnix_refcnt_dec(fileno(s->stdio)); 3032 fd = fileno(stdio); 3065 fd = fileno(stdio); 3108 fd = fileno(stdio); 3128 const int fd = fileno(stdio); 3131 const int dfd = PerlLIO_dup_cloexec(fileno(stdi [all...] |
H A D | XSUB.h | 510 # undef fileno macro 546 # define fileno PerlSIO_fileno macro
|
/openbsd-current/libexec/ftpd/ |
H A D | ftpd.c | 1138 (fstat(fileno(fin), &st) == -1 || !S_ISREG(st.st_mode))) { 1160 } else if (lseek(fileno(fin), restart_point, SEEK_SET) == -1) { 1245 } else if (lseek(fileno(fout), restart_point, SEEK_SET) == -1) { 1476 if (connect(fileno(file), (struct sockaddr *)&data_dest, 1480 data = fileno(file); 1536 netfd = fileno(outstr); 1537 filefd = fileno(instr); 1645 cnt = read(fileno(instr), buf, sizeof(buf)); 1651 if (write(fileno(outstr), buf, cnt) != cnt) 2808 if (fcntl(fileno(stdi [all...] |
/openbsd-current/usr.bin/openssl/ |
H A D | s_client.c | 1337 pfd[0].fd = fileno(stdin); 1341 pfd[1].fd = fileno(stdout); 1435 i = write(fileno(stdout), &(sbuf[sbuf_off]), sbuf_len); 1540 i = read(fileno(stdin), cbuf, BUFSIZZ / 2); 1556 i = read(fileno(stdin), cbuf, BUFSIZZ);
|
/openbsd-current/usr.bin/ftp/ |
H A D | fetch.c | 231 out = fileno(stdout); 294 if (out >= 0 && out != fileno(stdout)) 1026 out = fileno(stdout); 1129 if (out >= 0 && out != fileno(stdout)) { 1228 write(fileno(ttyout), errmsg, sizeof(errmsg) - 1);
|
/openbsd-current/usr.sbin/user/ |
H A D | user.c | 418 if (flock(fileno(from), LOCK_EX | LOCK_NB) == -1) { 421 (void) fstat(fileno(from), &st); 490 if (flock(fileno(from), LOCK_EX | LOCK_NB) == -1) { 493 (void) fstat(fileno(from), &st); 615 if (flock(fileno(from), LOCK_EX | LOCK_NB) == -1) { 618 (void) fstat(fileno(from), &st); 1331 if (flock(fileno(from), LOCK_EX | LOCK_NB) == -1) { 1334 (void) fstat(fileno(from), &st); 1393 (void) fchmod(fileno(to), st.st_mode & 0777);
|
/openbsd-current/gnu/gcc/gcc/ |
H A D | system.h | 105 # undef fileno macro 106 # define fileno(Stream) fileno_unlocked (Stream) macro
|
/openbsd-current/gnu/usr.sbin/mkhybrid/src/ |
H A D | rock.c | 548 status = (long)lseek(fileno(zipfile), (off_t)(-8), SEEK_END); 552 if(read(fileno(zipfile), (char*)header, sizeof(header)) != sizeof(header))
|
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/t/ |
H A D | wrappers.t | 64 is_deeply([POSIX::fstat(fileno $fh)], [stat $fh], 'fstat');
|
/openbsd-current/usr.bin/less/ |
H A D | cmdbuf.c | 1297 r = fstat(fileno(f), &statbuf); 1302 (void) fchmod(fileno(f), 0600);
|
/openbsd-current/usr.sbin/authpf/ |
H A D | authpf.c | 228 if (flock(fileno(pidfp), LOCK_EX|LOCK_NB) == 0) 311 (void) ftruncate(fileno(pidfp), ftello(pidfp));
|
/openbsd-current/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 185 if (fstat(fileno(fp), &st) == -1) 325 (void)fchmod(fileno(fp), S_IRUSR|S_IWUSR);
|
/openbsd-current/gnu/llvm/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/ |
H A D | ptyprocess.py | 66 if stream is None or not hasattr(stream, 'fileno'): 69 fd = stream.fileno() 74 raise ValueError("No stream has a fileno") 382 def fileno(self): member in class:PtyProcess
|
/openbsd-current/gnu/usr.bin/perl/t/op/ |
H A D | lex_assign.t | 356 fileno STDERR # fileno
|
/openbsd-current/gnu/usr.bin/perl/dist/Safe/t/ |
H A D | safeops.t | 296 fileno fileno FOO
|
/openbsd-current/gnu/usr.bin/perl/win32/ |
H A D | win32iop.h | 198 #undef fileno macro 229 #define fileno(f) win32_fileno(f) macro
|
/openbsd-current/gnu/usr.bin/perl/ext/Pod-Functions/t/ |
H A D | Functions.t | 101 fileno, flock, format, getc, print, printf, read, readdir,
|
/openbsd-current/usr.sbin/ntpd/ |
H A D | ntpd.c | 600 ftruncate(fileno(freqfp), ftello(freqfp)); 601 fsync(fileno(freqfp));
|
/openbsd-current/usr.bin/nm/ |
H A D | nm.c | 374 MMAP(symtab, len, PROT_READ, MAP_PRIVATE|MAP_FILE, fileno(fp), off); 432 MMAP(symdef, len, PROT_READ, MAP_PRIVATE|MAP_FILE, fileno(fp), off);
|
/openbsd-current/gnu/usr.bin/binutils/bfd/ |
H A D | sco5-core.c | 133 if (fstat (fileno (stream), &statbuf) < 0)
|