Searched refs:mytty (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/who/
H A Dwho.c121 static char *mytty; /* holds device user is on */ variable
397 if ((mytty = ttyname(fileno(stdin))) == NULL &&
398 (mytty = ttyname(fileno(stdout))) == NULL &&
399 (mytty = ttyname(fileno(stderr))) == NULL) {
405 mytty += 5; /* bump past "/dev/" */
736 strncmp(mytty, utmpp->ut_line,

Completed in 74 milliseconds