Searched refs:pwbuf (Results 1 – 4 of 4) sorted by relevance
/PHP-8.0/ext/posix/ |
H A D | posix.c | 916 struct passwd pwbuf; in PHP_FUNCTION() local 931 pw = &pwbuf; in PHP_FUNCTION() 971 char *pwbuf; in PHP_FUNCTION() local 985 pwbuf = emalloc(pwbuflen); in PHP_FUNCTION() 988 ret = getpwuid_r(uid, &_pw, pwbuf, pwbuflen, &retpwptr); in PHP_FUNCTION() 992 pwbuf = erealloc(pwbuf, pwbuflen); in PHP_FUNCTION() 996 efree(pwbuf); in PHP_FUNCTION() 1014 efree(pwbuf); in PHP_FUNCTION()
|
/PHP-8.0/main/ |
H A D | fopen_wrappers.c | 367 char *pwbuf; local 373 pwbuf = emalloc(pwbuflen); 382 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) { 383 efree(pwbuf); 395 efree(pwbuf);
|
H A D | main.c | 1436 char *pwbuf; in php_get_current_user() 1441 pwbuf = emalloc(pwbuflen); in php_get_current_user() 1442 if (getpwuid_r(pstat->st_uid, &_pw, pwbuf, pwbuflen, &retpwptr) != 0) { in php_get_current_user() 1443 efree(pwbuf); in php_get_current_user() 1447 efree(pwbuf); in php_get_current_user() 1459 efree(pwbuf); in php_get_current_user()
|
/PHP-8.0/ext/standard/ |
H A D | filestat.c | 441 char *pwbuf; in php_get_uid_by_name() local 447 pwbuf = emalloc(pwbuflen); in php_get_uid_by_name() 448 if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) { in php_get_uid_by_name() 449 efree(pwbuf); in php_get_uid_by_name() 452 efree(pwbuf); in php_get_uid_by_name()
|
Completed in 16 milliseconds