/openbsd-current/gnu/usr.bin/texinfo/info/ |
H A D | terminal.c | 466 if (ioctl (fileno (stdout), TIOCGWINSZ, &window_size) == 0) 561 if (tcgetattr (fileno(stdout), &ti) != -1) 571 if (ioctl (fileno (stdout), TIOCGETP, &sg) != -1) 706 tty = fileno (stdin); 834 tty = fileno (stdin);
|
H A D | pcterm.c | 210 tty = fileno (stdin); 237 tty = fileno (stdin); 629 __FSEXT_set_function (fileno (stdin), keyboard_read);
|
/openbsd-current/usr.bin/ftp/ |
H A D | ftp.c | 307 (void) write(fileno(ttyout), "\n\r", 2); 567 (void) write(fileno(ttyout), MSG, strlen(MSG)); 659 if (fstat(fileno(fin), &st) == -1 || 693 if (lseek(fileno(fin), restart_point, SEEK_SET) != -1) 746 while ((c = read(fileno(fin), buf, sizeof(buf))) > 0) { 750 if ((d = write(fileno(dout), bufp, (size_t)c)) 1030 if (fstat(fileno(fout), &st) == -1 || st.st_blksize == 0) 1054 lseek(fileno(fout), restart_point, SEEK_SET) == -1) { 1063 while ((c = read(fileno(din), buf, bufsize)) > 0) { 1070 wr = write(fileno(fou [all...] |
/openbsd-current/usr.bin/mail/ |
H A D | cmd1.c | 350 restoreterm = (tcgetattr(fileno(stdin), &tbuf) == 0); 364 restoreterm = (tcgetattr(fileno(stdin), &tbuf) == 0); 390 (void)tcsetattr(fileno(stdin), TCSADRAIN, &tbuf);
|
H A D | quit.c | 99 if (flock(fileno(fbuf), LOCK_EX) == -1) { 109 if (fstat(fileno(fbuf), &minfo) >= 0 && minfo.st_size > mailsize) { 241 fchmod(fileno(obuf), 0600);
|
H A D | fio.c | 289 (void)lseek(fileno(f), (off_t)sizeof(*message), SEEK_SET); 290 if (myread(fileno(f), (void *) &message[omsgCount], size) != size) 394 if (fstat(fileno(iob), &sbuf) == -1)
|
H A D | def.h | 262 (void)ftruncate(fileno(stream), (off_t)ftell(stream)); \
|
/openbsd-current/include/ |
H A D | stdio.h | 104 short _file; /* fileno, if Unix descriptor, else -1 */ 311 int fileno(FILE *); 410 #define fileno(p) (!__isthreaded ? __sfileno(p) : (fileno)(p)) macro
|
/openbsd-current/sys/kern/ |
H A D | vfs_getcwd.c | 61 ino_t fileno; local 109 fileno = va.va_fileid; 169 if (dp->d_fileno == fileno) {
|
/openbsd-current/usr.bin/rdist/ |
H A D | child.c | 195 (void) xwrite(fileno(stdout), rbuf, amt); 507 if (dup2(fildes[PIPE_WRITE], (int)fileno(stdout)) == -1) { 512 if (dup2(fildes[PIPE_WRITE], (int)fileno(stderr)) == -1) {
|
/openbsd-current/usr.bin/telnet/ |
H A D | sys_bsd.c | 63 tout = fileno(stdout); 64 tin = fileno(stdin); 384 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) == 0) {
|
/openbsd-current/gnu/lib/libreadline/ |
H A D | parens.c | 128 FD_SET (fileno (rl_instream), &readfds);
|
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | ser-pipe.c | 99 close (fileno (old->fp)); /* don't allow a flush */
|
/openbsd-current/games/boggle/boggle/ |
H A D | word.c | 131 if (fstat(fileno(fp), &statb) < 0) {
|
/openbsd-current/gnu/usr.bin/perl/os2/ |
H A D | os2_pipe.t | 17 ok((my $fd = fileno $server_pipe) >= 0, 'has a fileno'); 61 is fileno $fh, undef, 'was actually closed...';
|
/openbsd-current/lib/libc/gen/ |
H A D | popen.c | 96 close(fileno(pcur->fp));
|
/openbsd-current/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/ |
H A D | fdpexpect.py | 39 fileno() method (returning an int). All Python file-like objects 40 support fileno(). ''' 42 if type(fd) != type(0) and hasattr(fd, 'fileno'): 43 fd = fd.fileno()
|
/openbsd-current/gnu/llvm/compiler-rt/lib/fuzzer/ |
H A D | FuzzerUtilDarwin.cpp | 164 dup2(fileno(Temp), Fd);
|
/openbsd-current/usr.bin/mg/ |
H A D | ttyio.c | 146 while ((written = write(fileno(stdout), buf, nobuf)) != nobuf) {
|
/openbsd-current/lib/libc/hidden/ |
H A D | stdio.h | 57 PROTO_NORMAL(fileno); variable
|
/openbsd-current/gnu/usr.bin/perl/t/io/ |
H A D | pipe.t | 157 my $fdr = fileno($r); 158 my $fdw = fileno($w);
|
/openbsd-current/gnu/llvm/lldb/source/Interpreter/ |
H A D | embedded_interpreter.py | 73 fd = sys.stdin.fileno()
|
/openbsd-current/gnu/llvm/llvm/utils/ |
H A D | extract-section.py | 28 msvcrt.setformat(sys.stdin.fileno(), os.O_BINARY)
|
/openbsd-current/lib/libskey/ |
H A D | skeylogin.c | 263 if (flock(fileno(mp->keyfile), LOCK_EX | LOCK_NB) != 0) 309 (void)ftruncate(fileno(mp->keyfile), ftello(mp->keyfile)); 527 tgetline(fileno(stdin), pbuf, sizeof(pbuf), 120); 556 return (flock(fileno(mp->keyfile), LOCK_UN));
|
/openbsd-current/gnu/gcc/libcpp/ |
H A D | system.h | 97 # undef fileno macro 98 # define fileno(Stream) fileno_unlocked (Stream) macro
|