Searched refs:fileno (Results 1 - 23 of 23) sorted by relevance

/haiku/src/system/libroot/posix/glibc/libio/
H A Dfileno.c32 fileno (fp) function
45 libc_hidden_def (fileno)
48 /* The fileno implementation for libio does not require locking because
52 weak_alias (fileno, fileno_unlocked)
H A Dstdio.h616 extern int fileno (FILE *__stream) __THROW;
/haiku/src/libs/bsd/
H A Dgetpass.c26 if (tcgetattr(fileno(stdin), &termios) == 0) {
30 changed = tcsetattr(fileno(stdin), TCSAFLUSH, &noEchoTermios) == 0;
52 tcsetattr(fileno(stdin), TCSAFLUSH, &termios);
/haiku/src/tests/system/kernel/
H A Dnull_poll_test.cpp14 int fd = fileno(f);
H A Dfifo_poll_test.cpp17 int fd = fileno(f);
/haiku/src/bin/network/ftpd/
H A Dpopen.c176 pids[fileno(iop)] = pid;
194 if (pids == NULL || pids[fdes = fileno(iop)] == 0)
H A Dftpd.c594 if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
1705 if (fstat(fileno(fin), &st) < 0) {
1740 } else if (lseek(fileno(fin), restart_point, L_SET) < 0) {
1829 } else if (lseek(fileno(fout), restart_point, L_SET) < 0) {
2009 data = fileno(file);
2122 netfd = fileno(outstr);
2123 filefd = fileno(instr);
2247 cnt = read(fileno(instr), buf, sizeof(buf));
2256 cnt = write(fileno(outstr), bp, len);
H A Dftpcmd.y1639 if (fstat(fileno(fin), &stbuf) < 0) {
/haiku/headers/cpp/
H A Diostdio.h107 #define fileno _IO_fileno macro
/haiku/src/libs/stdc++/legacy/
H A Dstdiostream.cc55 stdiobuf::stdiobuf(FILE *f) : filebuf(fileno(f))
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DStdLibFileIO.cpp54 # define FILENO(__fp) fileno ((__fp))
56 # define FILENO(__fp) fileno ((__fp))
/haiku/src/bin/network/telnet/
H A Dsys_bsd.c129 tout = fileno(stdout);
130 tin = fileno(stdin);
225 (void) ioctl(fileno(stdout), TIOCFLUSH, (char *) 0);
227 (void) ioctl(fileno(stdout), TCFLSH, (char *) 0);
785 if (ioctl(fileno(stdin), TIOCGWINSZ, (char *)&ws) >= 0) {
/haiku/src/system/libroot/posix/glibc/include/
H A Dstdio_private.h102 libc_hidden_proto (fileno)
/haiku/src/bin/multiuser/
H A Dmultiuser_utils.cpp43 int inFD = fileno(in);
/haiku/src/tests/system/libroot/posix/
H A Dfseek_test.cpp318 } else if (fstat(fileno(fp), &st1) < 0) {
337 } else if (fstat(fileno(fp), &st1) < 0) {
/haiku/headers/posix/
H A Dstdio.h77 extern int fileno(FILE *stream);
/haiku/src/bin/pkgman/
H A Dcommand_search.cpp80 int fd = fileno(stdout);
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_init.c480 statp->_u._ext.ext->resfd = fcntl(fileno(fp), F_DUPFD_CLOEXEC, 0);
/haiku/src/bin/unzip/
H A Dextract.c1409 setmode(fileno(G.outfile), O_BINARY);
H A Dfileio.c94 ((extent)write(fileno(strm),(char *)(buf),(extent)(len)) != (extent)(len))
/haiku/src/libs/compat/freebsd_iflib/
H A Dnvlist.c680 nvlist_dump(nvl, fileno(fp));
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs.c1710 void fileno() {} function
H A Dlibroot_stubs_legacy.c1655 void fileno() {} function

Completed in 293 milliseconds