projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make pthread_create return EAGAIN on resource failure, as required by POSIX
[oweals/musl.git]
/
src
/
linux
/
wait3.c
1
#include <sys/wait.h>
2
#include <sys/resource.h>
3
#define SYSCALL_STANDALONE
4
#include "syscall.h"
5
6
pid_t wait4(pid_t, int *, int, struct rusage *);
7
8
pid_t wait3(int *status, int options, struct rusage *usage)
9
{
10
return wait4(-1, status, options, usage);
11
}