Searched refs:fileno (Results 176 - 200 of 358) sorted by relevance

1234567891011>>

/openbsd-current/usr.sbin/smtpd/
H A Dssl.c132 if (fstat(fileno(fp), &st) != 0)
/openbsd-current/usr.bin/make/
H A Dlowparse.c170 if (fileno(istream->F) != STDIN_FILENO)
/openbsd-current/lib/libcurses/tty/
H A Dlib_tstp.c275 && NC_ISATTY(fileno(scan->_ofp))) {
H A Dhashmap.c502 if (setupterm(NULL, fileno(stdout), (int *) 0) == ERR)
512 if (NC_ISATTY(fileno(stdin)))
/openbsd-current/bin/pax/
H A Dgen_subs.c178 if (isatty(fileno(fp))) {
/openbsd-current/gnu/usr.bin/perl/
H A Dperlio.c126 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 DXSUB.h510 # undef fileno macro
546 # define fileno PerlSIO_fileno macro
/openbsd-current/libexec/ftpd/
H A Dftpd.c1138 (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 Ds_client.c1337 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 Dfetch.c231 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 Duser.c418 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 Dsystem.h105 # undef fileno macro
106 # define fileno(Stream) fileno_unlocked (Stream) macro
/openbsd-current/gnu/usr.sbin/mkhybrid/src/
H A Drock.c548 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 Dwrappers.t64 is_deeply([POSIX::fstat(fileno $fh)], [stat $fh], 'fstat');
/openbsd-current/usr.bin/less/
H A Dcmdbuf.c1297 r = fstat(fileno(f), &statbuf);
1302 (void) fchmod(fileno(f), 0600);
/openbsd-current/usr.sbin/authpf/
H A Dauthpf.c228 if (flock(fileno(pidfp), LOCK_EX|LOCK_NB) == 0)
311 (void) ftruncate(fileno(pidfp), ftello(pidfp));
/openbsd-current/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c185 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 Dptyprocess.py66 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 Dlex_assign.t356 fileno STDERR # fileno
/openbsd-current/gnu/usr.bin/perl/dist/Safe/t/
H A Dsafeops.t296 fileno fileno FOO
/openbsd-current/gnu/usr.bin/perl/win32/
H A Dwin32iop.h198 #undef fileno macro
229 #define fileno(f) win32_fileno(f) macro
/openbsd-current/gnu/usr.bin/perl/ext/Pod-Functions/t/
H A DFunctions.t101 fileno, flock, format, getc, print, printf, read, readdir,
/openbsd-current/usr.sbin/ntpd/
H A Dntpd.c600 ftruncate(fileno(freqfp), ftello(freqfp));
601 fsync(fileno(freqfp));
/openbsd-current/usr.bin/nm/
H A Dnm.c374 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 Dsco5-core.c133 if (fstat (fileno (stream), &statbuf) < 0)

Completed in 481 milliseconds

1234567891011>>