Home
last modified time | relevance | path

Searched refs:pty_name (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c3064 char *pty_name; local
3071 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 …]