Searched refs:pty_name (Results 1 – 1 of 1) sorted by relevance
3064 char *pty_name; local3071 pty_name = ptsname(mfd);3072 if (pty_name == NULL) {3076 pty_name = ptsname(mfd);3078 if (pty_name == NULL) {3083 if (chown(pty_name, uid, -1) < 0) {3086 if (chmod(pty_name, S_IRUSR | S_IWUSR) < 0) {3092 sfd = open(pty_name, O_RDWR);3094 error("Couldn't open pty slave %s: %m", pty_name);3101 dbglog("Using %s; master fd %d, slave fd %d", pty_name, mfd, sfd);[all …]