Searched refs:aslave (Results 1 - 5 of 5) sorted by relevance

/freebsd-10-stable/contrib/netbsd-tests/kernel/kqueue/write/
H A Dt_ttypty.c61 int amaster, aslave, acurrent; local
63 RL(openpty(&amaster, &aslave, slavetty, NULL, NULL));
65 amaster, aslave, slavetty);
66 acurrent = check_master ? amaster : aslave;
72 n = read(check_master ? aslave : amaster, buffer, 128);
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dbsd-openpty.c73 openpty(int *amaster, int *aslave, char *name, struct termios *termp, argument
87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) {
119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) {
128 ioctl(*aslave, I_PUSH, "ptem");
129 ioctl(*aslave, I_PUSH, "ldterm");
131 ioctl(*aslave, I_PUSH, "ttcompat");
144 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) {
167 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) {
201 if ((*aslave = open(ttbuf, O_RDWR | O_NOCTTY)) == -1) {
/freebsd-10-stable/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_ttypty.c57 int amaster, aslave, acurrent; local
65 RL(openpty(&amaster, &aslave, slavetty, NULL, NULL));
68 amaster, aslave, slavetty);
69 acurrent = check_master ? amaster : aslave;
76 (void)write(check_master ? aslave : amaster, "f00\n", 4);
/freebsd-10-stable/lib/libutil/
H A Dpty.c53 openpty(int *amaster, int *aslave, char *name, struct termios *termp, argument
78 *aslave = slave;
/freebsd-10-stable/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sppd.c63 static int sppd_ttys_open (char **tty, int *amaster, int *aslave);
79 s, amaster, aslave, fd, doserver, local
178 if (sppd_ttys_open(&tty, &amaster, &aslave) < 0)
358 close(aslave);
367 sppd_ttys_open(char **tty, int *amaster, int *aslave) argument
374 if (openpty(amaster, aslave, pty, &tio, NULL) == -1) {
381 close(*aslave);

Completed in 77 milliseconds