HomeSort by: relevance | last modified time | path
    Searched refs:FIONREAD (Results 1 - 25 of 43) sorted by relevancy

1 2

  /src/sys/sys/
filio.h 50 #define FIONREAD _IOR('f', 127, int) /* get # bytes to read */
  /src/usr.bin/tip/aculib/
hayes.c 251 (void)ioctl(FD, FIONREAD, &len);
261 (void)ioctl(FD, FIONREAD, &len);
283 (void)ioctl(FD, FIONREAD, &len);
biz31.c 217 #ifdef FIONREAD
220 # define IOCTL FIONREAD
courier.c 268 (void)ioctl(FD, FIONREAD, &len);
322 if (ioctl(FD, FIONREAD, &n) < 0)
t3000.c 276 (void)ioctl(FD, FIONREAD, &len);
332 if (ioctl(FD, FIONREAD, &n) < 0)
ventel.c 202 * the ventel in sync. If you don't have FIONREAD
232 if (ioctl(fd, FIONREAD, &nread) < 0) {
  /src/games/larn/
tok.c 75 ioctl(0, FIONREAD, &ic);
120 ioctl(0, FIONREAD, &ic);
  /src/usr.bin/talk/
io.c 101 ioctl(0, FIONREAD, (void *) &nb);
  /src/games/warp/
term.h 105 # ifdef FIONREAD
109 (ioctl(0, FIONREAD, &iocount),(int)iocount))
113 # else /* FIONREAD */
132 # endif /* FIONREAD */
143 # ifdef FIONREAD /* must have FIONREAD or O_NDELAY for input_pending() */
146 # define input_pending() (ioctl(0, FIONREAD, &iocount), \
152 # else /* FIONREAD */
174 # endif /* FIONREAD */
warp.h 158 #ifdef FIONREAD
term.c 123 #ifndef FIONREAD
614 #ifndef FIONREAD
640 #endif /* FIONREAD */
config.h.SH 124 * the routine is used only if FIONREAD and O_NDELAY aren't available.
  /src/libexec/lfs_cleanerd/
cleansrv.c 75 ioctl(control_socket, FIONREAD, &c);
  /src/usr.bin/tftp/
tftpsubs.c 273 (void) ioctl(f, FIONREAD, &i);
  /src/lib/libedit/
read.c 494 #ifdef FIONREAD
498 (void) ioctl(el->el_infd, FIONREAD, &chrs);
507 #endif /* FIONREAD */
readline.c 2270 #if defined(FIONREAD)
2271 if (ioctl(el->el_infd, FIONREAD, &n) < 0)
  /src/sys/kern/
sys_socket.c 160 case FIONREAD:
subr_log.c 355 case FIONREAD:
sys_eventfd.c 307 case FIONREAD:
sys_timerfd.c 312 case FIONREAD:
  /src/bin/csh/
file.c 177 /* FIONREAD works only in noncanonical mode. */
196 if (ioctl(SHOUT, FIONREAD, (ioctl_t) &nbuf) ||
230 * FIONREAD in canonical mode does not return correct byte count
235 (void)ioctl(SHOUT, FIONREAD, (ioctl_t) &i);
  /src/sys/compat/linux/common/
linux_termios.c 286 SCARG(&ia, com) = FIONREAD;
  /src/sys/compat/linux32/common/
linux32_termios.c 294 SCARG(&ia, com) = FIONREAD;
  /src/usr.sbin/sysinst/
run.c 442 ioctl(master, FIONREAD, &do_tioccons);
  /src/tests/lib/libc/sys/
t_eventfd.c 797 ATF_REQUIRE(ioctl(efd, FIONREAD, &val) == 0);

Completed in 30 milliseconds

1 2