Lines Matching defs:slave_name
2152 char * slave_name;
2165 slave_name = _getpty(&master_fd, O_RDWR, 0666, 0);
2166 if (slave_name == NULL)
2169 slave_fd = open(slave_name, O_RDWR);
2188 slave_name = ptsname(master_fd); /* get name of slave */
2189 if (slave_name == NULL)
2191 slave_fd = open(slave_name, O_RDWR | O_NOCTTY); /* open slave */