diff options
Diffstat (limited to 'src/sys/wait/wait.c')
| -rw-r--r-- | src/sys/wait/wait.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sys/wait/wait.c b/src/sys/wait/wait.c new file mode 100644 index 00000000..be1799fe --- /dev/null +++ b/src/sys/wait/wait.c @@ -0,0 +1,10 @@ +#include "sys/types.h" +#include <sys/wait.h> + +pid_t wait(int *stat_loc) +{ + return waitpid((pid_t)-1, stat_loc, 0); +} +/* +POSIX(1) +*/ |
