summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_vfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_vfork.c')
-rw-r--r--lib/libc_r/uthread/uthread_vfork.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libc_r/uthread/uthread_vfork.c b/lib/libc_r/uthread/uthread_vfork.c
new file mode 100644
index 0000000..dbefc65
--- /dev/null
+++ b/lib/libc_r/uthread/uthread_vfork.c
@@ -0,0 +1,12 @@
+/*
+ * $FreeBSD$
+ */
+#include <unistd.h>
+
+__weak_reference(_vfork, vfork);
+
+int
+_vfork(void)
+{
+ return (fork());
+}
OpenPOWER on IntegriCloud