summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/fork.c')
-rw-r--r--cpukit/posix/src/fork.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/posix/src/fork.c b/cpukit/posix/src/fork.c
new file mode 100644
index 0000000000..11cac91bdb
--- /dev/null
+++ b/cpukit/posix/src/fork.c
@@ -0,0 +1,14 @@
+/*
+ * fork() - POSIX 1003.1b 3.1.1
+ *
+ * $Id$
+ */
+
+#include <sys/types.h>
+#include <errno.h>
+
+int fork( void )
+{
+ errno = ENOSYS;
+ return -1;
+}