Lines Matching defs:slave_name
3952 char * slave_name;
3965 slave_name = _getpty(&master_fd, O_RDWR, 0666, 0);
3966 if (slave_name == NULL)
3969 slave_fd = open(slave_name, O_RDWR);
3988 slave_name = ptsname(master_fd); /* get name of slave */
3989 if (slave_name == NULL)
3991 slave_fd = open(slave_name, O_RDWR | O_NOCTTY); /* open slave */