summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd/netbsd_misc.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1999-09-15 18:36:39 +0000
committerkstailey <kstailey@cvs.openbsd.org>1999-09-15 18:36:39 +0000
commitbb8cb677914d785c8a0a655006b31305becc9437 (patch)
tree8f5f224b5b7e4ac9a1f2f3f10375035de3cbfdc7 /sys/compat/netbsd/netbsd_misc.c
parente7821b4901090b5ed60ac6990b537ae31c0f5b41 (diff)
more and better signal routines, vfork()
Diffstat (limited to 'sys/compat/netbsd/netbsd_misc.c')
-rw-r--r--sys/compat/netbsd/netbsd_misc.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/compat/netbsd/netbsd_misc.c b/sys/compat/netbsd/netbsd_misc.c
new file mode 100644
index 00000000000..473a3dfcca1
--- /dev/null
+++ b/sys/compat/netbsd/netbsd_misc.c
@@ -0,0 +1,19 @@
+/* $OpenBSD: netbsd_misc.c,v 1.1 1999/09/15 18:36:38 kstailey Exp $ */
+
+#include <sys/param.h>
+/* #include <sys/systm.h> */
+#include <sys/proc.h>
+
+#include <compat/netbsd/netbsd_types.h>
+#include <compat/netbsd/netbsd_signal.h>
+#include <compat/netbsd/netbsd_syscallargs.h>
+
+/* XXX doesn't do shared address space */
+int
+netbsd_sys___vfork14(p, v, retval)
+ struct proc *p;
+ void *v;
+ register_t *retval;
+{
+ return (fork1(p, ISVFORK, 0, NULL, 0, retval));
+}