Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dbsd-openpty.c73 openpty(int *amaster, int *aslave, char *name, struct termios *termp, in openpty() argument
87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty()
119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty()
129 ioctl(*aslave, I_PUSH, "ptem"); in openpty()
130 ioctl(*aslave, I_PUSH, "ldterm"); in openpty()
132 ioctl(*aslave, I_PUSH, "ttcompat"); in openpty()
146 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty()
169 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) { in openpty()
203 if ((*aslave = open(ttbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty()