| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | peekfd.c | 68 #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 D | input.c | 239 #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 D | filio.d | 30 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 D | ioctl.d | 200 enum FIONREAD = 0x541B; in version() local 201 enum TIOCINQ = FIONREAD; in version()
|
| /netbsd-src/usr.bin/tip/aculib/ |
| H A D | hayes.c | 251 (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 D | biz31.c | 217 #ifdef FIONREAD in bizsync() 220 # define IOCTL FIONREAD in bizsync()
|
| H A D | courier.c | 268 (void)ioctl(FD, FIONREAD, &len); in coursync() 322 if (ioctl(FD, FIONREAD, &n) < 0) in cour_verbose_read()
|
| H A D | t3000.c | 276 (void)ioctl(FD, FIONREAD, &len); in t3000_sync() 332 if (ioctl(FD, FIONREAD, &n) < 0) in t3000_verbose_read()
|
| H A D | ventel.c | 232 if (ioctl(fd, FIONREAD, &nread) < 0) { in vensync()
|
| /netbsd-src/games/warp/ |
| H A D | term.h | 105 # 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 D | term.c | 123 #ifndef FIONREAD in term_set() 614 #ifndef FIONREAD
|
| H A D | warp.h | 158 #ifdef FIONREAD
|
| /netbsd-src/games/larn/ |
| H A D | tok.c | 75 ioctl(0, FIONREAD, &ic); in yylex() 120 ioctl(0, FIONREAD, &ic); in flushall()
|
| /netbsd-src/external/bsd/file/dist/src/ |
| H A D | seccomp.c | 198 #ifdef FIONREAD in enable_sandbox_full() 200 ALLOW_IOCTL_RULE(FIONREAD); in enable_sandbox_full()
|
| H A D | compress.c | 416 #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 D | filio.h | 50 #define FIONREAD _IOR('f', 127, int) /* get # bytes to read */ macro
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/config/io/ |
| H A D | basic_file_stdio.cc | 365 #ifdef FIONREAD in showmanyc() 368 int __r = ioctl(this->fd(), FIONREAD, &__num); in showmanyc()
|
| /netbsd-src/usr.bin/talk/ |
| H A D | io.c | 101 ioctl(0, FIONREAD, (void *) &nb); in talk()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/config/io/ |
| H A D | basic_file_stdio.cc | 403 #ifdef FIONREAD in showmanyc() 406 int __r = ioctl(this->fd(), FIONREAD, &__num); in showmanyc()
|
| /netbsd-src/lib/libedit/ |
| H A D | read.c | 494 #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 D | cleansrv.c | 75 ioctl(control_socket, FIONREAD, &c); in check_control_socket()
|
| /netbsd-src/usr.bin/tftp/ |
| H A D | tftpsubs.c | 273 (void) ioctl(f, FIONREAD, &i); in synchnet()
|
| /netbsd-src/sys/kern/ |
| H A D | sys_socket.c | 160 case FIONREAD: in soo_ioctl()
|
| /netbsd-src/bin/csh/ |
| H A D | file.c | 196 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 D | linux_termios.c | 286 SCARG(&ia, com) = FIONREAD; in linux_ioctl_termios()
|