Lines Matching refs:pwd
46 #include <pwd.h>
1024 /* We don't use getcwd(3) on SUNOS, because, it does a popen("pwd")
1606 struct passwd pwd;
1630 error = getpwnam_r (logname, &pwd, buffer, bufsize, &pw);
1633 error = getpwuid_r (getuid (), &pwd, buffer, bufsize, &pw);
1636 error = getpwuid_r (getuid (), &pwd, buffer, bufsize, &pw);
1642 error = getpwuid_r (getuid (), &pwd, buffer, bufsize);
1643 pw = error == 0 ? &pwd : NULL;
1646 pw = getpwnam_r (logname, &pwd, buffer, bufsize);
1649 pw = getpwuid_r (getuid (), &pwd, buffer, bufsize);
1652 pw = getpwuid_r (getuid (), &pwd, buffer, bufsize);