Searched refs:envp (Results 1 – 4 of 4) sorted by relevance
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_env.c | 65 char **envp; in clearenv() local 70 while (*(envp = environ)) { in clearenv() 71 char *eq = strchr(*envp, '='); in clearenv() 73 s = strdup(*envp); in clearenv() 75 if (eq) s[eq - *envp] = '\0'; in clearenv()
|
/PHP-7.3/ext/standard/ |
H A D | proc_open.h | 32 char *envp; member
|
H A D | proc_open.c | 94 env.envp = (char *) pecalloc(4, 1, is_persistent); in _php_array_to_envp() 123 p = env.envp = (char *) pecalloc(sizeenv + 4, 1, is_persistent); in _php_array_to_envp() 148 assert((uint32_t)(p - env.envp) <= sizeenv); in _php_array_to_envp() 165 if (env.envp) { in _php_free_envp() 166 pefree(env.envp, is_persistent); in _php_free_envp() 720 envpw = php_win32_cp_env_any_to_w(env.envp); in PHP_FUNCTION() 724 if (env.envp) { in PHP_FUNCTION()
|
/PHP-7.3/ext/pcntl/ |
H A D | pcntl.c | 915 char **argv = NULL, **envp = NULL; in PHP_FUNCTION() local 954 pair = envp = safe_emalloc((envc + 1), sizeof(char *), 0); in PHP_FUNCTION() 979 if (execve(path, argv, envp) == -1) { in PHP_FUNCTION() 985 for (pair = envp; *pair != NULL; pair++) efree(*pair); in PHP_FUNCTION() 986 efree(envp); in PHP_FUNCTION()
|
Completed in 14 milliseconds