summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/POSIX/vfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/POSIX/vfork.c')
-rw-r--r--testsuites/libtests/POSIX/vfork.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuites/libtests/POSIX/vfork.c b/testsuites/libtests/POSIX/vfork.c
new file mode 100644
index 0000000000..a947cce144
--- /dev/null
+++ b/testsuites/libtests/POSIX/vfork.c
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2009 by
+ * Ralf Corsépius, Ulm, Germany. All rights reserved.
+ *
+ * Permission to use, copy, modify, and distribute this software
+ * is freely granted, provided that this notice is preserved.
+ */
+
+#include <sys/types.h>
+#include <unistd.h>
+
+int
+main (void)
+{
+ pid_t pid;
+ pid = vfork ();
+
+ return 0;
+}