Searched refs:pw_class (Results 1 – 2 of 2) sorted by relevance
44 nclass= strlen(res->pw_class)+1; in getpwnam_r()61 strcpy(buffer, res->pw_class); in getpwnam_r()62 s->pw_class = buffer; in getpwnam_r()97 size_t pw_name, pw_passwd, pw_class, pw_gecos, pw_dir, pw_shell; in getpwuid_r() local101 pw_class = strlen(res->pw_class)+1; in getpwuid_r()106 if (pw_name+pw_passwd+pw_class+pw_gecos in getpwuid_r()119 strncpy(buffer, res->pw_class, pw_class); in getpwuid_r()120 pwd->pw_class = buffer; in getpwuid_r()121 buffer += pw_class; in getpwuid_r()
129 printf("Class: %s\n", pwd->pw_class); in main()
Completed in 10 milliseconds