summaryrefslogtreecommitdiff
path: root/src/sys/wait/waitid.c
blob: b8aa19d4f75b5a89227db1268678a4a0eedc404f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "sys/types.h"
/*
#include "sys/time.h"
#include "ucontext.h"
#include "signal.h"
#include <sys/wait.h>
*/
#include "_syscall.h"

#define __SYS_WAIT_H__

#include "idtype_t.c"

typedef struct siginfo siginfo_t;

int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options)
{
	SYSCALL(waitid, int, -1, idtype, id, infop, option, NULL, 0);
}

/*
XOPEN(400)
POSIX(200809)
*/