Searched defs:aslave (Results 1 - 2 of 2) sorted by relevance

/external/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) {
129 ioctl(*aslave, I_PUSH, "ptem");
130 ioctl(*aslave, I_PUSH, "ldterm");
132 ioctl(*aslave, I_PUSH, "ttcompat");
146 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) {
169 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) {
203 if ((*aslave = open(ttbuf, O_RDWR | O_NOCTTY)) == -1) {
/external/qemu/
H A Dqemu-char.c860 static int openpty(int *amaster, int *aslave, char *name, argument
866 *amaster = *aslave = -1;
887 if (aslave)
888 *aslave = sfd;

Completed in 964 milliseconds