Lines Matching defs:slave_name
3748 char * slave_name;
3761 slave_name = _getpty(&master_fd, O_RDWR, 0666, 0);
3762 if (slave_name == NULL)
3765 slave_fd = open(slave_name, O_RDWR);
3784 slave_name = ptsname(master_fd); /* get name of slave */
3785 if (slave_name == NULL)
3787 slave_fd = open(slave_name, O_RDWR | O_NOCTTY); /* open slave */