New files.

This commit is contained in:
Joel Sherrill
1998-09-27 16:37:16 +00:00
parent e21f7d8d48
commit cb646cb936
5 changed files with 69 additions and 1 deletions

View File

@@ -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)

View File

@@ -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;
}

View File

@@ -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;
}

17
cpukit/posix/src/wait.c Normal file
View File

@@ -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;
}

View File

@@ -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;
}