pty_master 1023 src/subshell/common.c const int pty_master = posix_openpt (O_RDWR); pty_master 1026 src/subshell/common.c const int pty_master = getpt (); pty_master 1029 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1032 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1035 src/subshell/common.c if (pty_master == -1) pty_master 1038 src/subshell/common.c if (grantpt (pty_master) == -1 // Grant access to slave pty_master 1039 src/subshell/common.c || unlockpt (pty_master) == -1 // Clear slave's lock flag pty_master 1040 src/subshell/common.c || (slave_name = ptsname (pty_master)) == NULL) // Get slave's name pty_master 1042 src/subshell/common.c close (pty_master); pty_master 1046 src/subshell/common.c return pty_master; pty_master 1114 src/subshell/common.c const int pty_master = open (pty_name, O_RDWR); pty_master 1116 src/subshell/common.c if (pty_master == -1) pty_master 1125 src/subshell/common.c close (pty_master); pty_master 1129 src/subshell/common.c return pty_master;