Lines Matching refs:master
3084 _cleanup_close_ int master = -1, image_fd = -1;
3277 master = posix_openpt(O_RDWR|O_NOCTTY|O_CLOEXEC|O_NDELAY);
3278 if (master < 0) {
3283 r = ptsname_malloc(master, &console);
3289 if (unlockpt(master) < 0) {
3379 master = safe_close(master);
3590 r = pty_forward_new(event, master, PTY_FORWARD_IGNORE_VHANGUP | (interactive ? 0 : PTY_FORWARD_READ_ONLY), &forward);
3661 if (master >= 0)
3662 (void) copy_bytes(master, STDOUT_FILENO, (uint64_t) -1, false);