Lines Matching refs:sname
124 static char sname[MAXNAME];
126 strncpy(sname,name,sizeof(sname));
127 last = strrchr(sname,'/');
129 return(sname);
135 static char sname[MAXNAME];
139 strcpy(sname,_pty_first);
140 return(sname);
217 char* sname;
254 if (grantpt(*master) || unlockpt(*master) || !(sname = ptsname(*master)) || (*slave = open(sname, O_RDWR|O_cloexec)) < 0)
260 if (!(sname = ptymopen(master)) || (*slave = open(sname, O_RDWR|O_cloexec)) < 0)