Searched refs:FIONREAD (Results 1 - 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dnocbreak.c75 #ifdef FIONREAD
77 #endif /* FIONREAD */
H A Dnoraw.c75 #ifdef FIONREAD
77 #endif /* FIONREAD */
H A Draw.c82 #ifdef FIONREAD
84 #endif /* FIONREAD */
H A Dcbreak.c102 #ifdef FIONREAD
104 #endif /* FIONREAD */
H A Dchkinput.c51 * This function replaces system calls to ioctl() with the FIONREAD
54 * Standard BTL UNIX 4.0 or 5.0 does not handle FIONREAD.
57 * (delay.c and getch.c also use FIONREAD for nodelay, select and fast peek,
68 #ifdef FIONREAD
76 ioctl(SP->check_fd, FIONREAD, &i);
79 #endif /* FIONREAD */
113 * This code should GO AWAY when a poll() or FIONREAD can
H A Dtgetch.c44 #ifndef FIONREAD
46 #endif /* FIONREAD */
76 * This code should GO AWAY when a poll() or FIONREAD can
92 #ifdef FIONREAD
94 #else /* FIONREAD */
105 #endif /* FIONREAD */
130 #ifdef FIONREAD
140 (void) ioctl(cur_term->_inputfd, FIONREAD, &arg);
143 fprintf(outf, "FIONREAD returns %d\n", arg);
173 #endif /* !FIONREAD */
[all...]
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dterminal.h177 # ifndef FIONREAD
179 # endif /* FIONREAD */
182 #ifdef FIONREAD
184 # define FIORDCHK FIONREAD
186 #endif /* FIONREAD */
/illumos-gate/usr/src/uts/common/sys/
H A Dfilio.h60 #define FIONREAD _IOR('f', 127, int) /* get # bytes to read */ macro
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dbiz31.c202 #ifdef FIONREAD
205 #define IOCTL FIONREAD
H A Dventel.c167 * the ventel in sync. If you don't have FIONREAD
207 if (ioctl(fd, FIONREAD, (caddr_t)&nread) < 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dio.c127 ioctl(0, FIONREAD, (struct sgttyb *)&nb);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfpkrd.c24 #ifndef FIONREAD
167 #ifdef FIONREAD /* quick and dirty check for availability */
171 if((r = ioctl(fd,FIONREAD,&avail)) < 0)
/illumos-gate/usr/src/uts/common/syscall/
H A Dioctl.c83 case FIONREAD: {
85 * offset is int32_t because that is what FIONREAD
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c545 if ( ioctl(ttyi, FIONREAD, &n) < 0 )
548 else error(FATAL, "ioctl error - FIONREAD");
565 if ( ioctl(ttyi, FIONREAD, &n) < 0 )
566 error(FATAL, "ioctl error - FIONREAD");
770 if ( ioctl(ttyi, FIONREAD, &n) < 0 )
773 else error(FATAL, "ioctl error - FIONREAD");
/illumos-gate/usr/src/lib/libpcsc/common/
H A Dlibpcsc.c594 if (ioctl(card->pcc_fd, FIONREAD, &len) != 0) {
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_opipe.c645 * There's more data (ioctl FIONREAD)
651 rc = smb_opipe_ioctl(sr, FIONREAD, &nread, &trval);
/illumos-gate/usr/src/cmd/bhyve/
H A Dgdb.c1733 if (ioctl(fd, FIONREAD, &pending) == -1) {
1734 warn("FIONREAD on GDB socket");
1832 unsigned long ioctls[] = { FIONREAD };
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c1032 if (ioctl(errpipe[0], FIONREAD, &count) >= 0 && count) {
1062 if (ioctl(outpipe[0], FIONREAD, &count) >= 0 && count) {
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c1047 case FIONREAD:
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c298 case FIONREAD :
H A Dipmon.c1655 if (ioctl(fd[i], FIONREAD, &tr) == -1) {
1658 "ioctl(FIONREAD): %m");
1660 perror("ioctl(FIONREAD)");
/illumos-gate/usr/src/uts/common/io/
H A Dtty_pty.c814 case FIONREAD: {
/illumos-gate/usr/src/uts/common/io/bpf/
H A Dbpf.c816 * FIONREAD Check for read packet available.
861 case FIONREAD:
1423 * An imitation of the FIONREAD ioctl code.
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_subr.c1506 case FIONREAD: {
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifovnops.c1303 case FIONREAD:

Completed in 105 milliseconds

12