Home
last modified time | relevance | path

Searched refs:pw_name (Results 1 – 6 of 6) sorted by relevance

/coreutils/src/
Did.c71 static void print_stuff (char const *pw_name);
235 char *pw_name = nullptr; in main() local
243 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 …]
Dwhoami.c86 puts (pw->pw_name); in main()
Dchroot.c312 username = pwd->pw_name; in main()
372 username = pwd->pw_name; in main()
Dpinky.c249 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()
Dchown-core.c117 return pwd ? xstrdup (pwd->pw_name) : uid_to_str (uid); in uid_to_name()
Dstat.c1569 pw_ent ? pw_ent->pw_name : "UNKNOWN"); in print_stat()