summaryrefslogtreecommitdiff
path: root/threadproc/netware
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-10-23 17:30:08 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-10-23 17:30:08 +0000
commitf4d5ff7eb5bcb7f61fd0dd7c9aec0776396f1ae4 (patch)
tree43cd77ea710845497eef32d2769720c95d6322a1 /threadproc/netware
parent3b54562d12cfaa09c8b8a7e3277b097aadb2c1af (diff)
downloadlibapr-f4d5ff7eb5bcb7f61fd0dd7c9aec0776396f1ae4.tar.gz
Fix the reporting for child processes that die. This removes
all of the non-portable W* macros from Apache. Submitted by: Jeff Trawick and Ryan Bloom git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62455 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/netware')
-rw-r--r--threadproc/netware/proc.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/threadproc/netware/proc.c b/threadproc/netware/proc.c
index a537f7651..494b26620 100644
--- a/threadproc/netware/proc.c
+++ b/threadproc/netware/proc.c
@@ -372,8 +372,11 @@ apr_status_t apr_proc_create(apr_proc_t *new,
return APR_SUCCESS;
}
-apr_status_t apr_proc_wait_all_procs(apr_proc_t *proc, apr_wait_t *status,
- apr_wait_how_e waithow, apr_pool_t *p)
+APR_DECLARE(apr_status_t) apr_proc_wait_all_procs(apr_proc_t *proc,
+ int *exitcode,
+ apr_exit_why_e *exitwhy,
+ apr_wait_how_e waithow,
+ apr_pool_t *p)
{
#if 0
int waitpid_options = WUNTRACED;
@@ -392,9 +395,9 @@ apr_status_t apr_proc_wait_all_procs(apr_proc_t *proc, apr_wait_t *status,
return errno;
}
-apr_status_t apr_proc_wait(apr_proc_t *proc,
- apr_wait_t *exitcode,
- apr_wait_how_e waithow)
+APR_DECLARE(apr_status_t) apr_proc_wait(apr_proc_t *proc,
+ int *exitcode, apr_exit_why_e *exitwhy,
+ apr_wait_how_e waithow)
{
#if 0
pid_t status;