Searched refs:grbuflen (Results 1 – 2 of 2) sorted by relevance
1129 long grbuflen; in PHP_FUNCTION() local1140 grbuflen = sysconf(_SC_GETGR_R_SIZE_MAX); in PHP_FUNCTION()1141 if (grbuflen < 1) { in PHP_FUNCTION()1145 grbuf = emalloc(grbuflen); in PHP_FUNCTION()1147 ret = getgrgid_r(gid, &_g, grbuf, grbuflen, &retgrptr); in PHP_FUNCTION()
303 long grbuflen = sysconf(_SC_GETGR_R_SIZE_MAX); in php_get_gid_by_name() local306 if (grbuflen < 1) { in php_get_gid_by_name()310 grbuf = emalloc(grbuflen); in php_get_gid_by_name()311 if (getgrnam_r(name, &gr, grbuf, grbuflen, &retgrptr) != 0 || retgrptr == NULL) { in php_get_gid_by_name()
Completed in 27 milliseconds