Lines Matching defs:tty
118 atf_tc_fail_errno("Couldn't set tty(4) buffer size");
120 atf_tc_fail_errno("Couldn't get tty(4) buffer size");
142 "Couldn't grant permissions on tty(4) device");
159 atf_tc_fail_errno("Couldn't open tty(4) device");
166 "Couldn't set tty(4) discipline to PPP");
190 int tty;
202 tty = tty_open(ttydev);
203 fd_nonblock(tty);
206 (void)printf("child: TTY open, starting read loop\n");
207 pfd.fd = tty;
228 if ((size = read(tty, dbuf, buffer_size))
236 "child: read %zd bytes from TTY\n",
246 (void)printf("child: closing TTY %zu\n", total);
247 (void)close(tty);