projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4fa7c024df4f221a9e859e1b3b8b125f863c16c7
[musl]
/
src
/
process
/
waitid.c
1
#include <sys/wait.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
6
{
7
int r;
8
CANCELPT_BEGIN;
9
r = syscall(SYS_waitid, type, id, info, options, 0);
10
if (r<0) CANCELPT_TRY;
11
CANCELPT_END;
12
return r;
13
}