summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd/netbsd_misc.c
diff options
context:
space:
mode:
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));
+}