summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/wait.c17
-rw-r--r--cpukit/posix/src/waitpid.c17
2 files changed, 34 insertions, 0 deletions
diff --git a/cpukit/posix/src/wait.c b/cpukit/posix/src/wait.c
new file mode 100644
index 0000000000..bbef04a2eb
--- /dev/null
+++ b/cpukit/posix/src/wait.c
@@ -0,0 +1,17 @@
+/*
+ * waitpid() - POSIX 1003.1b 3.2.1
+ *
+ * $Id$
+ */
+
+#include <sys/types.h>
+#include <sys/wait.h>
+#include <errno.h>
+
+int wait(
+ int *stat_loc
+)
+{
+ errno = ENOSYS;
+ return -1;
+}
diff --git a/cpukit/posix/src/waitpid.c b/cpukit/posix/src/waitpid.c
new file mode 100644
index 0000000000..f20161b5a9
--- /dev/null
+++ b/cpukit/posix/src/waitpid.c
@@ -0,0 +1,17 @@
+/*
+ * wait() - POSIX 1003.1b 3.2.1
+ *
+ * $Id$
+ */
+
+#include <sys/types.h>
+#include <sys/wait.h>
+#include <errno.h>
+
+int wait(
+ int *stat_loc
+)
+{
+ errno = ENOSYS;
+ return -1;
+}