pty_master 976 src/subshell/common.c int pty_master; pty_master 979 src/subshell/common.c pty_master = posix_openpt (O_RDWR); pty_master 982 src/subshell/common.c pty_master = getpt (); pty_master 985 src/subshell/common.c pty_master = open (pty_name, O_RDWR); pty_master 988 src/subshell/common.c pty_master = open (pty_name, O_RDWR); pty_master 991 src/subshell/common.c if (pty_master == -1) pty_master 994 src/subshell/common.c if (grantpt (pty_master) == -1 /* Grant access to slave */ pty_master 995 src/subshell/common.c || unlockpt (pty_master) == -1 /* Clear slave's lock flag */ pty_master 996 src/subshell/common.c || !(slave_name = ptsname (pty_master))) /* Get slave's name */ pty_master 998 src/subshell/common.c close (pty_master); pty_master 1002 src/subshell/common.c return pty_master; pty_master 1064 src/subshell/common.c int pty_master; pty_master 1076 src/subshell/common.c pty_master = open (pty_name, O_RDWR); pty_master 1077 src/subshell/common.c if (pty_master == -1) pty_master 1086 src/subshell/common.c close (pty_master); pty_master 1090 src/subshell/common.c return pty_master;