Lines Matching refs:pwd
29 #include <pwd.h>
66 struct passwd *pwd;
113 if (pwbuf->pwd == NULL)
114 pwbuf->pwd = (struct passwd *)
116 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);