projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code
[oweals/musl.git]
/
src
/
linux
/
wait4.c
1
#define _GNU_SOURCE
2
#include <sys/wait.h>
3
#include <sys/resource.h>
4
#include <string.h>
5
#include "syscall.h"
6
7
pid_t wait4(pid_t pid, int *status, int options, struct rusage *usage)
8
{
9
return syscall4(__NR_wait4, pid, (long)status, options, (long)usage);
10
}