pty_master 1100 src/subshell/common.c const int pty_master = posix_openpt (O_RDWR); pty_master 1103 src/subshell/common.c const int pty_master = getpt (); pty_master 1106 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1109 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1112 src/subshell/common.c if (pty_master == -1) pty_master 1115 src/subshell/common.c if (grantpt (pty_master) == -1 // Grant access to slave pty_master 1116 src/subshell/common.c || unlockpt (pty_master) == -1 // Clear slave's lock flag pty_master 1117 src/subshell/common.c || (slave_name = ptsname (pty_master)) == NULL) // Get slave's name pty_master 1119 src/subshell/common.c close (pty_master); pty_master 1123 src/subshell/common.c return pty_master; pty_master 1191 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1193 src/subshell/common.c if (pty_master == -1) pty_master 1202 src/subshell/common.c close (pty_master); pty_master 1206 src/subshell/common.c return pty_master;