summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-27 16:37:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-27 16:37:16 +0000
commitcb646cb936b45073b476f903b8f6e2ce14f2a4d5 (patch)
tree9763633dadc6ac744b56b5bab1bfcff67018bcfa /cpukit/posix
parentDocumented the following routines: dup, dup2, close, read, write, and fcntl.f (diff)
downloadrtems-cb646cb936b45073b476f903b8f6e2ce14f2a4d5.tar.bz2
New files.
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;
+}