diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-09-27 16:37:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-09-27 16:37:16 +0000 |
commit | cb646cb936b45073b476f903b8f6e2ce14f2a4d5 (patch) | |
tree | 9763633dadc6ac744b56b5bab1bfcff67018bcfa /c/src/exec/posix | |
parent | Documented the following routines: dup, dup2, close, read, write, and fcntl.f (diff) | |
download | rtems-cb646cb936b45073b476f903b8f6e2ce14f2a4d5.tar.bz2 |
New files.
Diffstat (limited to 'c/src/exec/posix')
-rw-r--r-- | c/src/exec/posix/src/Makefile.in | 2 | ||||
-rw-r--r-- | c/src/exec/posix/src/wait.c | 17 | ||||
-rw-r--r-- | c/src/exec/posix/src/waitpid.c | 17 |
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; +} |