summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src
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 /c/src/exec/posix/src
parentDocumented the following routines: dup, dup2, close, read, write, and fcntl.f (diff)
downloadrtems-cb646cb936b45073b476f903b8f6e2ce14f2a4d5.tar.bz2
New files.
Diffstat (limited to 'c/src/exec/posix/src')
-rw-r--r--c/src/exec/posix/src/Makefile.in2
-rw-r--r--c/src/exec/posix/src/wait.c17
-rw-r--r--c/src/exec/posix/src/waitpid.c17
3 files changed, 35 insertions, 1 deletions
diff --git a/c/src/exec/posix/src/Makefile.in b/c/src/exec/posix/src/Makefile.in
index 4a3aa25f7b..f5864775d3 100644
--- a/c/src/exec/posix/src/Makefile.in
+++ b/c/src/exec/posix/src/Makefile.in
@@ -13,7 +13,7 @@ PROJECT_ROOT = @PROJECT_ROOT@
ENOSYS_C_PIECES=\
execl execle execlp execv execve execvp fork \
- pthreadatfork
+ pthreadatfork wait waitpid
C_PIECES= adasupp cond getpid key mutex pthread psignal sched time \
types unistd $(ENOSYS_C_PIECES)
diff --git a/c/src/exec/posix/src/wait.c b/c/src/exec/posix/src/wait.c
new file mode 100644
index 0000000000..bbef04a2eb
--- /dev/null
+++ b/c/src/exec/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/c/src/exec/posix/src/waitpid.c b/c/src/exec/posix/src/waitpid.c
new file mode 100644
index 0000000000..f20161b5a9
--- /dev/null
+++ b/c/src/exec/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;
+}