Searched refs:pw (Results 1 – 3 of 3) sorted by relevance
237 struct passwd *pw = getpwnam (ut_user); in print_entry() local238 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() local314 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 …]
58 struct passwd *pw; in main() local82 pw = uid == NO_UID && errno ? nullptr : getpwuid (uid); in main()83 if (!pw) in main()86 puts (pw->pw_name); in main()
528 struct passwd *pw; in get_ids() local533 pw = getpwnam (owner_name); in get_ids()534 if (pw == nullptr) in get_ids()544 owner_id = pw->pw_uid; in get_ids()