summaryrefslogtreecommitdiff
path: root/gnu/egcs/libiberty/vfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/egcs/libiberty/vfork.c')
-rw-r--r--gnu/egcs/libiberty/vfork.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/egcs/libiberty/vfork.c b/gnu/egcs/libiberty/vfork.c
new file mode 100644
index 00000000000..86c45919f66
--- /dev/null
+++ b/gnu/egcs/libiberty/vfork.c
@@ -0,0 +1,8 @@
+/* Emulate vfork using just plain fork, for systems without a real vfork.
+ This function is in the public domain. */
+
+int
+vfork ()
+{
+ return (fork ());
+}