Searched refs:envp (Results 1 – 4 of 4) sorted by relevance
/PHP-5.4/sapi/fpm/fpm/ |
H A D | fpm_env.c | 67 char **envp; in clearenv() local 72 while (*(envp = environ)) { in clearenv() 73 char *eq = strchr(*envp, '='); in clearenv() 75 s = strdup(*envp); in clearenv() 77 if (eq) s[eq - *envp] = '\0'; in clearenv()
|
/PHP-5.4/ext/standard/ |
H A D | proc_open.h | 35 char *envp; member
|
H A D | proc_open.c | 101 env.envp = (char *) pecalloc(4, 1, is_persistent); in _php_array_to_envp() 145 p = env.envp = (char *) pecalloc(sizeenv + 4, 1, is_persistent); in _php_array_to_envp() 201 assert((uint)(p - env.envp) <= sizeenv); in _php_array_to_envp() 217 if (env.envp) { in _php_free_envp() 218 pefree(env.envp, is_persistent); in _php_free_envp() 745 …newprocok = CreateProcess(NULL, command, &security, &security, TRUE, dwCreateFlags, env.envp, cwd,… in PHP_FUNCTION() 749 …rocess(NULL, command_with_cmd, &security, &security, TRUE, dwCreateFlags, env.envp, cwd, &si, &pi); in PHP_FUNCTION()
|
/PHP-5.4/ext/pcntl/ |
H A D | pcntl.c | 749 char **argv = NULL, **envp = NULL; in PHP_FUNCTION() local 788 envp = safe_emalloc((envc + 1), sizeof(char *), 0); in PHP_FUNCTION() 789 for ( zend_hash_internal_pointer_reset(envs_hash), pair = envp; in PHP_FUNCTION() 817 if (execve(path, argv, envp) == -1) { in PHP_FUNCTION() 823 for (pair = envp; *pair != NULL; pair++) efree(*pair); in PHP_FUNCTION() 824 efree(envp); in PHP_FUNCTION()
|
Completed in 9 milliseconds