summaryrefslogtreecommitdiff
path: root/src/libc/include/sys/wait.h
blob: cff407e64a5d61d944a976b8cd14e8fda18097e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once
#include <sys/types.h>

#define WIFSTOPPED(x) 0
#define WEXITSTATUS(x) ((x)&0xFF)
#define WIFEXITED(x) 1
#define WSTOPSIG(x) 0
#define WTERMSIG(x) 0

#define WNOHANG 0
#define WUNTRACED 0

pid_t wait3(int *wstatus, int opts, struct rusage *rusage);