pty_master 1026 src/subshell/common.c const int pty_master = posix_openpt (O_RDWR); pty_master 1029 src/subshell/common.c const int pty_master = getpt (); pty_master 1032 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1035 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1038 src/subshell/common.c if (pty_master == -1) pty_master 1041 src/subshell/common.c if (grantpt (pty_master) == -1 // Grant access to slave pty_master 1042 src/subshell/common.c || unlockpt (pty_master) == -1 // Clear slave's lock flag pty_master 1043 src/subshell/common.c || (slave_name = ptsname (pty_master)) == NULL) // Get slave's name pty_master 1045 src/subshell/common.c close (pty_master); pty_master 1049 src/subshell/common.c return pty_master; pty_master 1117 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1119 src/subshell/common.c if (pty_master == -1) pty_master 1128 src/subshell/common.c close (pty_master); pty_master 1132 src/subshell/common.c return pty_master;