pty_master 934 src/subshell/common.c int pty_master; pty_master 937 src/subshell/common.c pty_master = posix_openpt (O_RDWR); pty_master 940 src/subshell/common.c pty_master = getpt (); pty_master 943 src/subshell/common.c pty_master = open (pty_name, O_RDWR); pty_master 946 src/subshell/common.c pty_master = open (pty_name, O_RDWR); pty_master 949 src/subshell/common.c if (pty_master == -1) pty_master 952 src/subshell/common.c if (grantpt (pty_master) == -1 /* Grant access to slave */ pty_master 953 src/subshell/common.c || unlockpt (pty_master) == -1 /* Clear slave's lock flag */ pty_master 954 src/subshell/common.c || !(slave_name = ptsname (pty_master))) /* Get slave's name */ pty_master 956 src/subshell/common.c close (pty_master); pty_master 960 src/subshell/common.c return pty_master; pty_master 1022 src/subshell/common.c int pty_master; pty_master 1034 src/subshell/common.c pty_master = open (pty_name, O_RDWR); pty_master 1035 src/subshell/common.c if (pty_master == -1) pty_master 1044 src/subshell/common.c close (pty_master); pty_master 1048 src/subshell/common.c return pty_master;