Searched refs:real_tty_path (Results 1 – 2 of 2) sorted by relevance
39 char *real_tty_path = tty_pathname; in getlogin() local53 err = __ttyname_r (0, real_tty_path, sizeof (tty_pathname)); in getlogin()60 real_tty_path += 5; /* Remove "/dev/". */ in getlogin()63 strncpy (line.ut_line, real_tty_path, sizeof line.ut_line); in getlogin()
40 char *real_tty_path = tty_pathname; in __getlogin_r() local54 result = __ttyname_r (0, real_tty_path, sizeof (tty_pathname)); in __getlogin_r()59 real_tty_path += 5; /* Remove "/dev/". */ in __getlogin_r()60 strncpy (line.ut_line, real_tty_path, sizeof line.ut_line); in __getlogin_r()