summaryrefslogtreecommitdiff
path: root/perlproc.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-01-19 04:52:18 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-01-19 04:52:18 +0000
commit3028581bb6e49415e90ca9e7935ef77e075f56d6 (patch)
tree3148ee21a20fd6a2f6d71d3109fc2ae066463314 /perlproc.h
parent377729033bd4c3e2f6c0ac6b0d2bde9a83c5da6d (diff)
downloadperl-3028581bb6e49415e90ca9e7935ef77e075f56d6.tar.gz
[win32] foo() -> PerlGroup_foo() patch from ActiveState
p4raw-id: //depot/win32/perl@433
Diffstat (limited to 'perlproc.h')
-rw-r--r--perlproc.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/perlproc.h b/perlproc.h
new file mode 100644
index 0000000000..40218c2814
--- /dev/null
+++ b/perlproc.h
@@ -0,0 +1,22 @@
+#ifndef H_PERLPROC
+#define H_PERLPROC 1
+
+#ifdef PERL_OBJECT
+#else
+#define PerlProc_abort() abort()
+#define PerlProc_exit(s) exit((s))
+#define PerlProc__exit(s) _exit((s))
+#define PerlProc_execl(c, w, x, y, z) execl((c), (w), (x), (y), (z))
+#define PerlProc_execv(c, a) execv((c), (a))
+#define PerlProc_execvp(c, a) execvp((c), (a))
+#define PerlProc_kill(i, a) kill((i), (a))
+#define PerlProc_killpg(i, a) killpg((i), (a))
+#define PerlProc_popen(c, m) my_popen((c), (m))
+#define PerlProc_pclose(f) my_pclose((f))
+#define PerlProc_pipe(fd) pipe((fd))
+#define PerlProc_setjmp(b, n) Sigsetjmp((b), (n))
+#define PerlProc_longjmp(b, n) Siglongjmp((b), (n))
+#define PerlProc_signal(n, h) signal((n), (h))
+#endif /* PERL_OBJECT */
+
+#endif /* Include guard */