pty_master 1096 src/subshell/common.c const int pty_master = posix_openpt (O_RDWR); pty_master 1099 src/subshell/common.c const int pty_master = getpt (); pty_master 1102 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1105 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1108 src/subshell/common.c if (pty_master == -1) pty_master 1111 src/subshell/common.c if (grantpt (pty_master) == -1 // Grant access to slave pty_master 1112 src/subshell/common.c || unlockpt (pty_master) == -1 // Clear slave's lock flag pty_master 1113 src/subshell/common.c || (slave_name = ptsname (pty_master)) == NULL) // Get slave's name pty_master 1115 src/subshell/common.c close (pty_master); pty_master 1119 src/subshell/common.c return pty_master; pty_master 1187 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1189 src/subshell/common.c if (pty_master == -1) pty_master 1198 src/subshell/common.c close (pty_master); pty_master 1202 src/subshell/common.c return pty_master;