Lines Matching defs:pwd
28 #include <pwd.h>
65 struct passwd *pwd;
112 if (pwbuf->pwd == NULL)
113 pwbuf->pwd = (struct passwd *)
115 if (pwbuf->pwd == NULL) {
140 if (pwbuf->pwd)
141 free(pwbuf->pwd);
158 if (pwbuf->pwd) {
163 if (getpwnam_r(name, pwbuf->pwd, pwbuf->pwd_scratch,
184 struct passwd pwd;
188 if (private_getpwnam_r(name, &pwd, pwd_scratch,
202 if (pwbuf->pwd) free(pwbuf->pwd);
231 pw = pwbuf->pwd;
310 if (pwbuf->pwd) free(pwbuf->pwd);