pty_slave 1011 src/subshell/common.c int pty_slave; pty_slave 1013 src/subshell/common.c pty_slave = open (pty_name, O_RDWR); pty_slave 1014 src/subshell/common.c if (pty_slave == -1) pty_slave 1021 src/subshell/common.c if (ioctl (pty_slave, I_FIND, "ptem") == 0) pty_slave 1022 src/subshell/common.c if (ioctl (pty_slave, I_PUSH, "ptem") == -1) pty_slave 1025 src/subshell/common.c pty_slave, unix_error_string (errno)); pty_slave 1026 src/subshell/common.c close (pty_slave); pty_slave 1030 src/subshell/common.c if (ioctl (pty_slave, I_FIND, "ldterm") == 0) pty_slave 1031 src/subshell/common.c if (ioctl (pty_slave, I_PUSH, "ldterm") == -1) pty_slave 1035 src/subshell/common.c pty_slave, unix_error_string (errno)); pty_slave 1036 src/subshell/common.c close (pty_slave); pty_slave 1040 src/subshell/common.c if (ioctl (pty_slave, I_FIND, "ttcompat") == 0) pty_slave 1041 src/subshell/common.c if (ioctl (pty_slave, I_PUSH, "ttcompat") == -1) pty_slave 1045 src/subshell/common.c pty_slave, unix_error_string (errno)); pty_slave 1046 src/subshell/common.c close (pty_slave); pty_slave 1053 src/subshell/common.c fcntl (pty_slave, F_SETFD, FD_CLOEXEC); pty_slave 1054 src/subshell/common.c return pty_slave; pty_slave 1102 src/subshell/common.c int pty_slave; pty_slave 1113 src/subshell/common.c pty_slave = open (pty_name, O_RDWR); pty_slave 1114 src/subshell/common.c if (pty_slave == -1) pty_slave 1116 src/subshell/common.c fcntl (pty_slave, F_SETFD, FD_CLOEXEC); pty_slave 1117 src/subshell/common.c return pty_slave;