Lines Matching refs:pwdbufsiz
2886 static size_t pwdbufsiz = 0;
2891 if (pwdbufsiz == 0)
2892 pwdbufsiz = sysconf(_SC_GETPW_R_SIZE_MAX);
2893 buf = alloca(pwdbufsiz);
2894 pwdp = getpwnam_r(name, &pwd, buf, pwdbufsiz);
2897 pwdp = getpwnam_r(lower_name, &pwd, buf, pwdbufsiz);
2939 static size_t pwdbufsiz = 0;
2943 if (pwdbufsiz == 0)
2944 pwdbufsiz = sysconf(_SC_GETPW_R_SIZE_MAX);
2945 buf = alloca(pwdbufsiz);
2947 if (getpwuid_r(pid, &pwd, buf, pwdbufsiz) == NULL) {