Symbol: FIONREAD
bin/csh/file.c
196
if (ioctl(SHOUT, FIONREAD, (ioctl_t) &nbuf) ||
bin/csh/file.c
235
(void)ioctl(SHOUT, FIONREAD, (ioctl_t) &i);
games/larn/tok.c
120
ioctl(0, FIONREAD, &ic);
games/larn/tok.c
75
ioctl(0, FIONREAD, &ic);
games/warp/term.c
123
#ifndef FIONREAD
games/warp/term.c
614
#ifndef FIONREAD
games/warp/term.h
105
# ifdef FIONREAD
games/warp/term.h
109
(ioctl(0, FIONREAD, &iocount),(int)iocount))
games/warp/term.h
143
# ifdef FIONREAD /* must have FIONREAD or O_NDELAY for input_pending() */
games/warp/term.h
146
# define input_pending() (ioctl(0, FIONREAD, &iocount), \
games/warp/warp.h
158
#ifdef FIONREAD
lib/libedit/read.c
494
#ifdef FIONREAD
lib/libedit/read.c
498
(void) ioctl(el->el_infd, FIONREAD, &chrs);
lib/libedit/readline.c
2271
#if defined(FIONREAD)
lib/libedit/readline.c
2272
if (ioctl(el->el_infd, FIONREAD, &n) < 0)
libexec/lfs_cleanerd/cleansrv.c
75
ioctl(control_socket, FIONREAD, &c);
sys/arch/usermode/usermode/thunk.c
1404
error = ioctl(rfb->clientfd, FIONREAD, &len);
sys/arch/usermode/usermode/thunk.c
867
error = ioctl(fd, FIONREAD, &len);
sys/compat/linux/common/linux_termios.c
286
SCARG(&ia, com) = FIONREAD;
sys/compat/linux32/common/linux32_termios.c
294
SCARG(&ia, com) = FIONREAD;
sys/dev/audio/audio.c
3081
case FIONREAD:
sys/dev/midi.c
1627
case FIONREAD:
sys/kern/subr_log.c
358
case FIONREAD:
sys/kern/sys_eventfd.c
307
case FIONREAD:
sys/kern/sys_pipe.c
776
case FIONREAD:
sys/kern/sys_socket.c
160
case FIONREAD:
sys/kern/sys_timerfd.c
312
case FIONREAD:
sys/kern/tty.c
1100
case FIONREAD: /* get # bytes to read */
sys/kern/tty_pty.c
1173
case FIONREAD:
sys/kern/vfs_vnops.c
840
if (com == FIONREAD) {
sys/net/bpf.c
1011
case FIONREAD: /* FALLTHROUGH */
sys/net/bpf.c
1031
case FIONREAD: {
sys/net/if_ppp.c
533
case FIONREAD:
sys/net/if_tap.c
1040
case FIONREAD:
sys/net/if_tun.c
754
case FIONREAD:
tests/lib/libc/sys/t_eventfd.c
797
ATF_REQUIRE(ioctl(efd, FIONREAD, &val) == 0);
tests/lib/libc/sys/t_timerfd.c
778
ATF_REQUIRE(ioctl(tfd, FIONREAD, &val) == 0);
usr.bin/rdist/docmd.c
325
if (ioctl(remerr, FIONREAD, &nr) != -1) {
usr.bin/talk/io.c
101
ioctl(0, FIONREAD, (void *) &nb);
usr.bin/tftp/tftpsubs.c
273
(void) ioctl(f, FIONREAD, &i);
usr.bin/tip/aculib/biz31.c
217
#ifdef FIONREAD
usr.bin/tip/aculib/biz31.c
220
# define IOCTL FIONREAD
usr.bin/tip/aculib/courier.c
268
(void)ioctl(FD, FIONREAD, &len);
usr.bin/tip/aculib/courier.c
322
if (ioctl(FD, FIONREAD, &n) < 0)
usr.bin/tip/aculib/hayes.c
251
(void)ioctl(FD, FIONREAD, &len);
usr.bin/tip/aculib/hayes.c
261
(void)ioctl(FD, FIONREAD, &len);
usr.bin/tip/aculib/hayes.c
283
(void)ioctl(FD, FIONREAD, &len);
usr.bin/tip/aculib/t3000.c
276
(void)ioctl(FD, FIONREAD, &len);
usr.bin/tip/aculib/t3000.c
332
if (ioctl(FD, FIONREAD, &n) < 0)
usr.bin/tip/aculib/ventel.c
232
if (ioctl(fd, FIONREAD, &nread) < 0) {
usr.sbin/sysinst/util.c
2768
ioctl(master, FIONREAD, &do_tioccons);