summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-07-12 07:01:30 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-07-12 07:01:30 +0000
commit4c8230696cc3e637063349d74b6890f4917e3421 (patch)
tree521171c8895d8b53d531918728b7c9166c176e3e
parent77ae01ac72ddca17c48b6020662d2f77fd2cc479 (diff)
downloadphp-git-4c8230696cc3e637063349d74b6890f4917e3421.tar.gz
Add folding markers
-rw-r--r--ext/standard/proc_open.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c
index 2e419ba051..5a17e91bc2 100644
--- a/ext/standard/proc_open.c
+++ b/ext/standard/proc_open.c
@@ -179,7 +179,7 @@ static void _php_free_envp(php_process_env_t env, int is_persistent)
}
/* }}} */
-
+/* {{{ proc_open_rsrc_dtor */
static void proc_open_rsrc_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
struct php_process_handle *proc = (struct php_process_handle*)rsrc->ptr;
@@ -227,6 +227,7 @@ static void proc_open_rsrc_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
pefree(proc, proc->is_persistent);
}
+/* }}} */
/* {{{ php_make_safe_mode_command */
static int php_make_safe_mode_command(char *cmd, char **safecmd, int is_persistent TSRMLS_DC)
@@ -290,12 +291,13 @@ static int php_make_safe_mode_command(char *cmd, char **safecmd, int is_persiste
}
/* }}} */
+/* {{{ PHP_MINIT_FUNCTION(proc_open) */
PHP_MINIT_FUNCTION(proc_open)
{
le_proc_open = zend_register_list_destructors_ex(proc_open_rsrc_dtor, NULL, "process", module_number);
return SUCCESS;
}
-
+/* }}} */
/* {{{ proto int proc_terminate(resource process [, long signal])
kill a process opened by proc_open */
@@ -322,7 +324,6 @@ PHP_FUNCTION(proc_terminate)
}
/* }}} */
-
/* {{{ proto int proc_close(resource process)
close a process opened by proc_open */
PHP_FUNCTION(proc_close)