Searched defs:pwbuflen (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dfilestat.c519 long pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX); local
522 if (pwbuflen < 1) {
526 pwbuf = emalloc(pwbuflen);
527 if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) {
/PHP_TRUNK/main/
H A Dfopen_wrappers.c373 long pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX); local
376 if (pwbuflen < 1) {
380 pwbuf = emalloc(pwbuflen);
389 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) {
/PHP_TRUNK/ext/posix/
H A Dposix.c1226 long pwbuflen; local
1236 pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX);
1237 if (pwbuflen < 1) {
1240 pwbuf = emalloc(pwbuflen);
1242 ret = getpwuid_r(uid, &_pw, pwbuf, pwbuflen, &retpwptr);

Completed in 7 milliseconds