Searched refs:mytty (Results 1 – 1 of 1) sorted by relevance
125 static char *mytty; /* holds device user is on */ variable401 if ((mytty = ttyname(fileno(stdin))) == NULL && in main()402 (mytty = ttyname(fileno(stdout))) == NULL && in main()403 (mytty = ttyname(fileno(stderr))) == NULL) { in main()409 mytty += 5; /* bump past "/dev/" */ in main()740 strncmp(mytty, utmpp->ut_line, in process()