Searched refs:pathn (Results 1 – 1 of 1) sorted by relevance
1179 register char *pathn; in ttypath() local1184 if ((pathn = ttyname(2)) == NULL && (pathn = ttyname(1)) == NULL && in ttypath()1185 (pathn = ttyname(0)) == NULL) in ttypath()1192 if (stat(pathn, &stbuf) < 0 || !bitset(S_IWOTH, stbuf.st_mode)) in ttypath()1203 return pathn; in ttypath()