summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/vfork.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-11-20 16:56:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-11-20 16:56:53 +0000
commitd2ccb326861b793439c23db9890a7d877371316f (patch)
tree0bcd081c95edc990ca907e448f115b32218e9d66 /cpukit/posix/src/vfork.c
parent2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-d2ccb326861b793439c23db9890a7d877371316f.tar.bz2
2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am: Add dummy vfork() implementation. * posix/src/vfork.c: New file.
Diffstat (limited to 'cpukit/posix/src/vfork.c')
-rw-r--r--cpukit/posix/src/vfork.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/cpukit/posix/src/vfork.c b/cpukit/posix/src/vfork.c
new file mode 100644
index 0000000000..4db522f015
--- /dev/null
+++ b/cpukit/posix/src/vfork.c
@@ -0,0 +1,23 @@
+/*
+ * COPYRIGHT (c) 1989-2008.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <sys/types.h>
+#include <unistd.h>
+
+pid_t vfork(void)
+{
+ return -1;
+}
+