summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadatfork.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-25 13:17:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-25 13:17:32 +0000
commit97149ba590564355c631e0902149710dd73862f5 (patch)
tree9166110f0f5537fc872bcc900c6dbcf8e0279ebe /cpukit/posix/src/pthreadatfork.c
parentStuff added by Kerwin. (diff)
downloadrtems-97149ba590564355c631e0902149710dd73862f5.tar.bz2
Added ENOSYS stubs for a number of process routines.
Diffstat (limited to 'cpukit/posix/src/pthreadatfork.c')
-rw-r--r--cpukit/posix/src/pthreadatfork.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpukit/posix/src/pthreadatfork.c b/cpukit/posix/src/pthreadatfork.c
new file mode 100644
index 0000000000..f70f8d7dc1
--- /dev/null
+++ b/cpukit/posix/src/pthreadatfork.c
@@ -0,0 +1,18 @@
+/*
+ * pthread_atfork() - POSIX 1003.1b 3.1.3
+ *
+ * $Id$
+ */
+
+#include <sys/types.h>
+#include <errno.h>
+
+int pthread_atfork(
+ void (*prepare)(void),
+ void (*parent)(void),
+ void (*child)(void)
+)
+{
+ errno = ENOSYS;
+ return -1;
+}