Lines Matching refs:ioctl
21 * sys/ioctl.h has already been included by tclPort.h. Including termios.h
50 # include <sys/ioctl.h>
58 # define GETCONTROL(fd, intPtr) ioctl((fd), TIOCMGET, (intPtr))
59 # define SETCONTROL(fd, intPtr) ioctl((fd), TIOCMSET, (intPtr))
77 # define GETREADQUEUE(fd, int) ioctl((fd), FIONREAD, &(int))
79 # define GETREADQUEUE(fd, int) int = ioctl((fd), FIORDCHK, NULL)
82 # define GETWRITEQUEUE(fd, int) ioctl((fd), TIOCOUTQ, &(int))
91 ioctl((fd), TIOCSBRK, NULL); \
93 ioctl((fd), TIOCCBRK, NULL); \
107 # define GETIOSTATE(fd, statePtr) ioctl((fd), TCGETA, (statePtr))
108 # define SETIOSTATE(fd, statePtr) ioctl((fd), TCSETAW, (statePtr))
114 # define GETIOSTATE(fd, statePtr) ioctl((fd), TIOCGETP, (statePtr))
115 # define SETIOSTATE(fd, statePtr) ioctl((fd), TIOCSETP, (statePtr))
437 if (ioctl(fsPtr->fd, (int) FIONBIO, &curStatus) < 0) {
2041 if (ioctl(statePtr->fd, (int) FIONBIO, &setting) == -1) {
2047 if (ioctl(statePtr->fd, (int) FIONBIO, &setting) == -1) {
2104 (void) ioctl(statePtr->fd, FIONBIO, &flags);
2614 status = ioctl(sock, FIONBIO, &curState);
2642 status = ioctl(sock, FIONBIO, &curState);