/openbsd-current/lib/libcurses/tinfo/ |
H A D | lib_baudrate.c | 283 && !NC_ISATTY(fileno((SP_PARM && SP_PARM->_ofp) ? SP_PARM->_ofp : stdout))
|
H A D | lib_tputs.c | 191 if (write(fileno(NC_OUTPUT(SP_PARM)), &tmp, (size_t) 1) == -1) 196 if (write(fileno(stdout), &tmp, (size_t) 1) == -1)
|
/openbsd-current/bin/pax/ |
H A D | pax.c | 443 listfd = fileno(listf);
|
/openbsd-current/libexec/talkd/ |
H A D | announce.c | 63 if (fstat(fileno(tf), &stbuf) == -1) {
|
/openbsd-current/gnu/usr.bin/perl/t/op/ |
H A D | sselect.t | 125 my $fd = POSIX::dup(fileno \*STDOUT);
|
/openbsd-current/gnu/usr.bin/perl/t/io/ |
H A D | socket.t | 90 my $acceptfd = fileno($accept); 278 my $sockfd = fileno($sock);
|
H A D | open.t | 18 my $fd = fileno($_[0]); 263 ok( open(my $stdin, "<&", fileno STDIN), 'dup fileno(STDIN) into lexical fh') or _diag $!; 266 fileno(STDIN) =~ /(.)/;
|
/openbsd-current/gnu/lib/libreadline/ |
H A D | terminal.c | 287 _rl_get_screen_size (fileno (rl_instream), 1); 367 tty = rl_instream ? fileno (rl_instream) : 0;
|
/openbsd-current/gnu/usr.bin/cvs/vms/ |
H A D | pipe.c | 215 if (fileno (this->file) == fd) 237 if (fileno (this->file) == fd)
|
H A D | piped_child.c | 297 *fromfdp = fileno(siop->read_fp); 298 *tofdp = fileno(siop->write_fp);
|
/openbsd-current/usr.bin/mail/ |
H A D | collect.c | 480 0, fileno(fp), fileno(nf), "-c", cmd, NULL) < 0) {
|
H A D | popen.c | 72 (void)fcntl(fileno(fp), F_SETFD, FD_CLOEXEC); 84 (void)fcntl(fileno(fp), F_SETFD, FD_CLOEXEC);
|
/openbsd-current/usr.bin/tail/ |
H A D | forward.c | 310 EV_SET(&(ke[0]), fileno(tf->fp), EVFILT_READ, 315 EV_SET(&(ke[1]), fileno(tf->fp), EVFILT_VNODE,
|
/openbsd-current/gnu/llvm/llvm/utils/lit/lit/builtin_commands/ |
H A D | diff.py | 36 stdin_fileno = sys.stdin.fileno() 190 msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
|
/openbsd-current/usr.sbin/smtpd/ |
H A D | crypto.c | 73 if (fstat(fileno(in), &sb) == -1) 139 if (fstat(fileno(in), &sb) == -1)
|
H A D | makemap.c | 264 if (!isatty(fileno(fp)) && flock(fileno(fp), LOCK_SH|LOCK_NB) == -1) {
|
H A D | enqueue.c | 828 ftruncate(fileno(ofile), 0); 845 ftruncate(fileno(ofile), 0); 855 ftruncate(fileno(ofile), 0);
|
/openbsd-current/usr.bin/sed/ |
H A D | main.c | 406 fchown(fileno(outfile), sb.st_uid, sb.st_gid); 407 fchmod(fileno(outfile), sb.st_mode & ALLPERMS);
|
/openbsd-current/gnu/llvm/compiler-rt/lib/profile/ |
H A D | InstrProfilingFile.c | 131 int Fileno = fileno(File); 208 MAP_SHARED, fileno(File), 0); 352 fileno(ProfileFile), 0); 1151 fileno(File)); 1170 PROF_ERR("Failed to write file \"%d\": %s\n", fileno(File),
|
/openbsd-current/lib/libcurses/base/ |
H A D | lib_set_term.c | 433 _setmode(fileno(output), _O_BINARY); 440 sp->_ofd = output ? fileno(output) : -1; 444 _setmode(fileno(output), _O_BINARY);
|
/openbsd-current/sbin/pflogd/ |
H A D | pflogd.c | 360 if (fstat(fileno(fp), &st) == -1) { 493 ftruncate(fileno(f), pos - sizeof(*h))) { 534 ftruncate(fileno(f), offset);
|
/openbsd-current/sbin/quotacheck/ |
H A D | quotacheck.c | 395 (void) fchown(fileno(qfo), getuid(), getquotagid()); 396 (void) fchmod(fileno(qfo), MODE); 463 ftruncate(fileno(qfo),
|
/openbsd-current/sbin/isakmpd/ |
H A D | log.c | 215 if (fileno(log_output) != -1 && 216 fileno(stdout) == fileno(log_output))
|
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | ui-file.c | 477 return read (fileno (stdio->file), buf, length_buf); 507 return (isatty (fileno (stdio->file)));
|
/openbsd-current/usr.bin/skeyinit/ |
H A D | skeyinit.c | 287 if (fchown(fileno(skey.keyfile), pp->pw_uid, -1) != 0 || 288 fchmod(fileno(skey.keyfile), S_IRUSR | S_IWUSR) != 0)
|