Home
last modified time | relevance | path

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

/openbmc/qemu/chardev/
H A Dchar-pty.c233 static int openpty(int *amaster, int *aslave, char *name, in openpty() argument
239 *amaster = *aslave = -1; in openpty()
264 *aslave = sfd; in openpty()
296 static int qemu_openpty_raw(int *aslave, char *pty_name) in qemu_openpty_raw() argument
308 if (openpty(&amaster, aslave, pty_buf, NULL, NULL) < 0) { in qemu_openpty_raw()
313 tcgetattr(*aslave, &tty); in qemu_openpty_raw()
315 tcsetattr(*aslave, TCSAFLUSH, &tty); in qemu_openpty_raw()