forked from Imagelibrary/rtems
New files.
This commit is contained 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)
|
||||
|
||||
17
c/src/exec/posix/src/wait.c
Normal file
17
c/src/exec/posix/src/wait.c
Normal 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;
|
||||
}
|
||||
17
c/src/exec/posix/src/waitpid.c
Normal file
17
c/src/exec/posix/src/waitpid.c
Normal 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
17
cpukit/posix/src/wait.c
Normal 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;
|
||||
}
|
||||
17
cpukit/posix/src/waitpid.c
Normal file
17
cpukit/posix/src/waitpid.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user