Home
last modified time | relevance | path

Searched refs:FIONREAD (Results 1 – 25 of 71) sorted by relevance

123

/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dpeekfd.c68 #ifdef FIONREAD in peekfd()
79 if (ioctl(fd, FIONREAD, (char *) &count) < 0) { in peekfd()
86 return (ioctl(fd, FIONREAD, (char *) &count) < 0 ? -1 : count); in peekfd()
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dinput.c239 #if defined (FIONREAD) in rl_gather_tyi()
240 result = ioctl (tty, FIONREAD, &chars_avail); in rl_gather_tyi()
337 #if !defined (HAVE_SELECT) && defined(FIONREAD) in _rl_input_available()
356 #if defined (FIONREAD) in _rl_input_available()
357 if (ioctl (tty, FIONREAD, &chars_avail) == 0) in _rl_input_available()
378 #if defined (FIONREAD) in _rl_nchars_available()
381 result = ioctl (fd, FIONREAD, &chars_avail); in _rl_nchars_available()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dfilio.d30 enum uint FIONREAD = _IOR!(int)('f', 127); // get # bytes to read in version() local
43 enum uint FIONREAD = _IOR!(int)('f', 127); // get # bytes to read in version() local
H A Dioctl.d200 enum FIONREAD = 0x541B; in version() local
201 enum TIOCINQ = FIONREAD; in version()
/netbsd-src/usr.bin/tip/aculib/
H A Dhayes.c251 (void)ioctl(FD, FIONREAD, &len); in goodbye()
261 (void)ioctl(FD, FIONREAD, &len); in goodbye()
283 (void)ioctl(FD, FIONREAD, &len); in hay_sync()
H A Dbiz31.c217 #ifdef FIONREAD in bizsync()
220 # define IOCTL FIONREAD in bizsync()
H A Dcourier.c268 (void)ioctl(FD, FIONREAD, &len); in coursync()
322 if (ioctl(FD, FIONREAD, &n) < 0) in cour_verbose_read()
H A Dt3000.c276 (void)ioctl(FD, FIONREAD, &len); in t3000_sync()
332 if (ioctl(FD, FIONREAD, &n) < 0) in t3000_verbose_read()
H A Dventel.c232 if (ioctl(fd, FIONREAD, &nread) < 0) { in vensync()
/netbsd-src/games/warp/
H A Dterm.h105 # ifdef FIONREAD
109 (ioctl(0, FIONREAD, &iocount),(int)iocount))
143 # ifdef FIONREAD /* must have FIONREAD or O_NDELAY for input_pending() */
146 # define input_pending() (ioctl(0, FIONREAD, &iocount), \
H A Dterm.c123 #ifndef FIONREAD in term_set()
614 #ifndef FIONREAD
H A Dwarp.h158 #ifdef FIONREAD
/netbsd-src/games/larn/
H A Dtok.c75 ioctl(0, FIONREAD, &ic); in yylex()
120 ioctl(0, FIONREAD, &ic); in flushall()
/netbsd-src/external/bsd/file/dist/src/
H A Dseccomp.c198 #ifdef FIONREAD in enable_sandbox_full()
200 ALLOW_IOCTL_RULE(FIONREAD); in enable_sandbox_full()
H A Dcompress.c416 #if defined(FIONREAD) && !defined(__MINGW32__) in sread()
424 #if defined(FIONREAD) && !defined(__MINGW32__) in sread()
425 if (canbepipe && (ioctl(fd, FIONREAD, &t) == -1 || t == 0)) { in sread()
450 (void)ioctl(fd, FIONREAD, &t); in sread()
/netbsd-src/sys/sys/
H A Dfilio.h50 #define FIONREAD _IOR('f', 127, int) /* get # bytes to read */ macro
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc365 #ifdef FIONREAD in showmanyc()
368 int __r = ioctl(this->fd(), FIONREAD, &__num); in showmanyc()
/netbsd-src/usr.bin/talk/
H A Dio.c101 ioctl(0, FIONREAD, (void *) &nb); in talk()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc403 #ifdef FIONREAD in showmanyc()
406 int __r = ioctl(this->fd(), FIONREAD, &__num); in showmanyc()
/netbsd-src/lib/libedit/
H A Dread.c494 #ifdef FIONREAD in el_wgets()
498 (void) ioctl(el->el_infd, FIONREAD, &chrs); in el_wgets()
507 #endif /* FIONREAD */ in el_wgets()
/netbsd-src/libexec/lfs_cleanerd/
H A Dcleansrv.c75 ioctl(control_socket, FIONREAD, &c); in check_control_socket()
/netbsd-src/usr.bin/tftp/
H A Dtftpsubs.c273 (void) ioctl(f, FIONREAD, &i); in synchnet()
/netbsd-src/sys/kern/
H A Dsys_socket.c160 case FIONREAD: in soo_ioctl()
/netbsd-src/bin/csh/
H A Dfile.c196 if (ioctl(SHOUT, FIONREAD, (ioctl_t) &nbuf) || in pushback()
235 (void)ioctl(SHOUT, FIONREAD, (ioctl_t) &i); in pushback()
/netbsd-src/sys/compat/linux/common/
H A Dlinux_termios.c286 SCARG(&ia, com) = FIONREAD; in linux_ioctl_termios()

123