Lines Matching defs:pwd
37 #include <pwd.h>142 struct passwd *pwd;166 pwd = getpwnam(user);167 if (pwd == NULL) {171 uid = pwd->pw_uid;172 gid = pwd->pw_gid;253 struct passwd *pwd;277 pwd = getpwnam(user);278 if (pwd == NULL) {282 uid = pwd->pw_uid;283 gid = pwd->pw_gid;