Lines Matching refs:ioctl
137 # define tcgetattr(f, t) ioctl(f, TCGETS, (char *)t)
142 # define tcgetattr(f, t) ioctl(f, TCGETA, (char *)t)
146 # define tcgetattr(f, t) ioctl(f, TIOCGETA, (char *)t)
149 # define tcsetattr(f, a, t) ioctl(f, a, t)
460 if (ioctl(p, TIOCGPGRP, &dummy) == 0
760 n = ioctl(fd, I_LIST, 0);
762 perror("ioctl(fd, I_LIST, 0)");
767 n = ioctl(fd, I_LIST, &sl);
769 perror("ioctl(fd, I_LIST, n)");
799 err = ioctl(fd, I_PUSH, *p);
840 ioctl(t, TIOCNOTTY, (char *)0);
896 ioctl(t, TIOCSWINSZ, (char *)&ws);
1000 ioctl(t, TCVHUP, (char *)0);
1021 if (ioctl(t, TIOCSCTTY, (char *)0) < 0 && !really_stream)
1022 fatalperror(net, "ioctl(sctty)");