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

/PHP_TRUNK/ext/standard/
H A Dfilestat.c520 char *pwbuf; local
526 pwbuf = emalloc(pwbuflen);
527 if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) {
528 efree(pwbuf);
531 efree(pwbuf);
/PHP_TRUNK/main/
H A Dfopen_wrappers.c374 char *pwbuf; local
380 pwbuf = emalloc(pwbuflen);
389 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) {
390 efree(pwbuf);
402 efree(pwbuf);
/PHP_TRUNK/ext/posix/
H A Dposix.c1177 struct passwd pwbuf; local
1192 pw = &pwbuf;
1227 char *pwbuf; local
1240 pwbuf = emalloc(pwbuflen);
1242 ret = getpwuid_r(uid, &_pw, pwbuf, pwbuflen, &retpwptr);
1245 efree(pwbuf);
1263 efree(pwbuf);

Completed in 23 milliseconds