Home
last modified time | relevance | path

Searched refs:pw (Results 1 – 3 of 3) sorted by relevance

/coreutils/src/
Dpinky.c237 struct passwd *pw = getpwnam (ut_user); in print_entry() local
238 if (pw == nullptr) in print_entry()
243 char *const comma = strchr (pw->pw_gecos, ','); in print_entry()
249 result = create_fullname (pw->pw_gecos, pw->pw_name); in print_entry()
312 struct passwd *pw; in print_long_entry() local
314 pw = getpwnam (name); in print_long_entry()
320 if (pw == nullptr) in print_long_entry()
328 char *const comma = strchr (pw->pw_gecos, ','); in print_long_entry()
334 result = create_fullname (pw->pw_gecos, pw->pw_name); in print_long_entry()
344 printf ("%-29s", pw->pw_dir); in print_long_entry()
[all …]
Dwhoami.c58 struct passwd *pw; in main() local
82 pw = uid == NO_UID && errno ? nullptr : getpwuid (uid); in main()
83 if (!pw) in main()
86 puts (pw->pw_name); in main()
Dinstall.c528 struct passwd *pw; in get_ids() local
533 pw = getpwnam (owner_name); in get_ids()
534 if (pw == nullptr) in get_ids()
544 owner_id = pw->pw_uid; in get_ids()