diff options
-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 | ||||
-rw-r--r-- | cpukit/posix/src/wait.c | 17 | ||||
-rw-r--r-- | cpukit/posix/src/waitpid.c | 17 |
5 files changed, 69 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; +} 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; +} |