Searched refs:pwbuf (Results 1 – 4 of 4) sorted by relevance
/PHP-5.5/ext/posix/ |
H A D | posix.c | 1116 struct passwd pwbuf; in PHP_FUNCTION() local 1131 pw = &pwbuf; in PHP_FUNCTION() 1166 char *pwbuf; in PHP_FUNCTION() local 1179 pwbuf = emalloc(pwbuflen); in PHP_FUNCTION() 1181 ret = getpwuid_r(uid, &_pw, pwbuf, pwbuflen, &retpwptr); in PHP_FUNCTION() 1184 efree(pwbuf); in PHP_FUNCTION() 1202 efree(pwbuf); in PHP_FUNCTION()
|
/PHP-5.5/main/ |
H A D | fopen_wrappers.c | 378 char *pwbuf; local 384 pwbuf = emalloc(pwbuflen); 393 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) { 394 efree(pwbuf); 406 efree(pwbuf);
|
H A D | main.c | 1239 char *pwbuf; in php_get_current_user() 1244 pwbuf = emalloc(pwbuflen); in php_get_current_user() 1245 if (getpwuid_r(pstat->st_uid, &_pw, pwbuf, pwbuflen, &retpwptr) != 0) { in php_get_current_user() 1246 efree(pwbuf); in php_get_current_user() 1250 efree(pwbuf); in php_get_current_user() 1262 efree(pwbuf); in php_get_current_user()
|
/PHP-5.5/ext/standard/ |
H A D | filestat.c | 532 char *pwbuf; in php_get_uid_by_name() local 538 pwbuf = emalloc(pwbuflen); in php_get_uid_by_name() 539 if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) { in php_get_uid_by_name() 540 efree(pwbuf); in php_get_uid_by_name() 543 efree(pwbuf); in php_get_uid_by_name()
|
Completed in 28 milliseconds