Searched refs:fileno (Results 101 - 125 of 300) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/gdb/gdb/tui/
H A Dtui-file.c129 return (isatty (fileno (stream->ts_filestream)));
/freebsd-11-stable/contrib/xz/src/lzmainfo/
H A Dlzmainfo.c180 setmode(fileno(stdin), O_BINARY);
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/
H A Dsecurity.c119 if(sec_read(fileno(F), &c, 1) <= 0)
269 sec_write(fileno(F), out_buffer.data, out_buffer.index);
272 sec_send(fileno(F), NULL, 0);
337 sec_write(fileno(F), out_buffer.data, out_buffer.index);
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dsecurity.c119 if(sec_read(fileno(F), &c, 1) <= 0)
269 sec_write(fileno(F), out_buffer.data, out_buffer.index);
272 sec_send(fileno(F), NULL, 0);
337 sec_write(fileno(F), out_buffer.data, out_buffer.index);
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/
H A Dsys_bsd.c82 tout = fileno(stdout);
83 tin = fileno(stdin);
180 ioctl(fileno(stdout), TIOCFLUSH, (char *) 0);
182 ioctl(fileno(stdout), TCFLSH, (char *) 0);
/freebsd-11-stable/contrib/pf/pflogd/
H A Dpflogd.c353 if (fstat(fileno(fp), &st) == -1) {
506 ftruncate(fileno(f), pos - sizeof(sh))) {
509 ftruncate(fileno(f), pos - sizeof(*h))) {
551 ftruncate(fileno(f), offset);
/freebsd-11-stable/lib/libc/tests/stdio/
H A Dfopen_test.c52 fd = fileno(fp);
53 ATF_REQUIRE_MSG(fd >= 0, "fileno() failed for fopen");
/freebsd-11-stable/release/picobsd/tinyware/help/
H A Dhelp.c52 if (ioctl(fileno(stdout), TIOCGWINSZ, &ts)>=0) {
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Diruserok.c266 else if (fstat(fileno(hostf), &sbuf) < 0)
/freebsd-11-stable/crypto/openssl/engines/ccgost/
H A Dgostsum.c114 if (!hash_stream(&ctx, fileno(stdin), sum)) {
/freebsd-11-stable/lib/libc/gen/
H A Dgetutxent.c80 if (_fstat(fileno(uf), &sb) != -1 &&
H A Dpopen.c161 (void)_close(fileno(p->fp));
/freebsd-11-stable/usr.bin/msgs/
H A Dmsgs.c361 if (isatty(fileno(stdin))) {
400 totty = (isatty(fileno(stdout)) != 0);
448 if (ioctl(fileno(stdout), TIOCGWINSZ, &win) != -1)
677 tcdrain(fileno(stdout));
/freebsd-11-stable/usr.sbin/timed/timedc/
H A Dtimedc.c97 fromatty = isatty(fileno(stdin));
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dlib_baudrate.c211 && !isatty(fileno(SP_PARM ? SP_PARM->_ofp : stdout))
/freebsd-11-stable/contrib/amd/amd/
H A Dinfo_file.c200 if (fstat(fileno(mapf), &stb) < 0)
/freebsd-11-stable/usr.sbin/autofs/
H A Dpopen.c128 close(fileno(p->outfp));
/freebsd-11-stable/usr.sbin/fstyp/
H A Dfstyp.c143 fd = fileno(fp);
/freebsd-11-stable/usr.bin/uuencode/
H A Duuencode.c107 if (!freopen(*argv, "r", stdin) || fstat(fileno(stdin), &sb))
/freebsd-11-stable/usr.bin/mail/
H A Dedit.c163 if (fstat(fileno(nf), &statb) < 0)
/freebsd-11-stable/lib/libc/stdio/
H A DMakefile.inc11 fileno.c findfp.c flags.c fmemopen.c fopen.c \
50 ferror.3 fileno.3 ferror.3 fileno_unlocked.3
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPort.h31 #define COMPILER_RT_FTRUNCATE(f,l) ftruncate(fileno(f),l)
/freebsd-11-stable/contrib/elftoolchain/ar/
H A Dread.c175 r = archive_read_data_into_fd(a, fileno(out));
/freebsd-11-stable/contrib/dma/
H A Dspool.c147 if (fflush(it->queuef) != 0 || fsync(fileno(it->queuef)) != 0)
237 if (fflush(queue->mailf) != 0 || fsync(fileno(queue->mailf)) != 0)
/freebsd-11-stable/bin/sh/
H A Dshow.c403 if ((flags = fcntl(fileno(tracefile), F_GETFL, 0)) >= 0)
404 fcntl(fileno(tracefile), F_SETFL, flags | O_APPEND);

Completed in 188 milliseconds

1234567891011>>