bjh 99/10/18 19:02:11
Modified: src/lib/apr/threadproc/os2 proc.c
Log:
OS/2: Add ap_get_os_proc().
Revision Changes Path
1.7 +11 -0 apache-2.0/src/lib/apr/threadproc/os2/proc.c
Index: proc.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/os2/proc.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- proc.c 1999/10/14 02:51:47 1.6
+++ proc.c 1999/10/19 02:02:10 1.7
@@ -60,6 +60,7 @@
#include "apr_file_io.h"
#include "apr_general.h"
#include "apr_lib.h"
+#include "apr_portable.h"
#include <signal.h>
#include <string.h>
#include <sys/wait.h>
@@ -327,3 +328,13 @@
return errno;
}
+
+
+ap_status_t ap_get_os_proc(ap_os_proc_t *theproc, ap_proc_t *proc)
+{
+ if (proc == NULL) {
+ return APR_ENOPROC;
+ }
+ *theproc = proc->pid;
+ return APR_SUCCESS;
+}