Searched refs:acurrent (Results 1 - 2 of 2) sorted by relevance
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/read/ |
H A D | t_ttypty.c | 57 int amaster, aslave, acurrent; local 69 acurrent = check_master ? amaster : aslave; 82 RL(tcgetattr(acurrent, &tio)); 84 RL(tcsetattr(acurrent, TCSADRAIN, &tio)); 86 pfd.fd = acurrent; 94 if (ioctl(acurrent, TIOCPKT, &fl) < 0) 100 EV_SET(&event[0], acurrent, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0); 115 RL(n = read(acurrent, buffer, 128));
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/write/ |
H A D | t_ttypty.c | 61 int amaster, aslave, acurrent; local 66 acurrent = check_master ? amaster : aslave; 78 pfd.fd = acurrent; 86 EV_SET(&event[0], acurrent, EVFILT_WRITE, EV_ADD|EV_ENABLE, 0, 0, 0); 97 RL(n = write(acurrent, "f00\n", 4));
|
Completed in 213 milliseconds