summaryrefslogtreecommitdiffstats
path: root/cpukit
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
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')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/posix/Makefile.am2
-rw-r--r--cpukit/posix/src/vfork.c23
3 files changed, 29 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 60d033378f..c7ca4d7fa4 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * posix/Makefile.am: Add dummy vfork() implementation.
+ * posix/src/vfork.c: New file.
+
2008-11-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1336/cpukit
diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am
index 04025c4494..c60a6a4448 100644
--- a/cpukit/posix/Makefile.am
+++ b/cpukit/posix/Makefile.am
@@ -59,7 +59,7 @@ libposix_a_SOURCES += src/aio_cancel.c src/aio_error.c src/aio_fsync.c \
## ENOSYS_C_FILES
libposix_a_SOURCES += src/_execve.c src/execl.c src/execle.c src/execlp.c \
src/execv.c src/execve.c src/execvp.c src/fork.c src/pthreadatfork.c \
- src/wait.c src/waitpid.c
+ src/wait.c src/waitpid.c src/vfork.c
## BARRIER_C_FILES
libposix_a_SOURCES += src/barrierattrdestroy.c src/barrierattrgetpshared.c \
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;
+}
+