Lines Matching refs:pwd
38 #include <pwd.h>52 struct passwd *pwd;56 for (pwd = getpwent(); pwd != NULL; pwd = getpwent()) {57 if (isreserveduid(pwd->pw_uid)) /* Skip reserved IDs */59 if (pwd->pw_uid >= uid) {60 if (pwd->pw_uid == stop) { /* Overflow check */64 uid = pwd->pw_uid + 1;67 if (pwd == NULL && errno != 0) {