Lines Matching defs:slave_name
2206 char * slave_name;
2219 slave_name = _getpty(&master_fd, O_RDWR, 0666, 0);
2220 if (slave_name == NULL)
2223 slave_fd = open(slave_name, O_RDWR);
2242 slave_name = ptsname(master_fd); /* get name of slave */
2243 if (slave_name == NULL)
2245 slave_fd = open(slave_name, O_RDWR | O_NOCTTY); /* open slave */