Searched refs:pw_name (Results 1 – 6 of 6) sorted by relevance
71 static void print_stuff (char const *pw_name);235 char *pw_name = nullptr; in main() local243 if (! parse_user_spec (spec, &euid, nullptr, &pw_name, nullptr)) in main()244 pwd = pw_name ? getpwnam (pw_name) : getpwuid (euid); in main()253 if (!pw_name) in main()254 pw_name = xstrdup (pwd->pw_name); in main()257 print_stuff (pw_name); in main()259 free (pw_name); in main()346 char *s = pwd ? pwd->pw_name : uidtostr (uid); in print_user()361 printf ("(%s)", pwd->pw_name); in print_full_info()[all …]
86 puts (pw->pw_name); in main()
312 username = pwd->pw_name; in main()372 username = pwd->pw_name; in main()
249 result = create_fullname (pw->pw_gecos, pw->pw_name); in print_entry()334 result = create_fullname (pw->pw_gecos, pw->pw_name); in print_long_entry()
117 return pwd ? xstrdup (pwd->pw_name) : uid_to_str (uid); in uid_to_name()
1569 pw_ent ? pw_ent->pw_name : "UNKNOWN"); in print_stat()