diff options
| author | Klaatu <[email protected]> | 2015-05-17 15:33:21 +1200 |
|---|---|---|
| committer | Klaatu <[email protected]> | 2015-05-17 15:33:21 +1200 |
| commit | b0de699679e8f1e39af847ed172d1ba605b4370c (patch) | |
| tree | 01dac00471d61f727394e508c613b29cff0ceae5 /system/__waitpid.c | |
bulk upload of source
Diffstat (limited to 'system/__waitpid.c')
| -rw-r--r-- | system/__waitpid.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/__waitpid.c b/system/__waitpid.c new file mode 100644 index 0000000..06f44c1 --- /dev/null +++ b/system/__waitpid.c @@ -0,0 +1,11 @@ +#include <asm/unistd.h> + +#ifndef __NR_waitpid + +#include <sys/types.h> +#include <sys/wait.h> + +pid_t waitpid(pid_t pid, int *status, int options) { + return wait4(pid, status, options, 0); +} +#endif |
