mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00

Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.
21 lines
434 B
C
21 lines
434 B
C
#pragma once
|
|
|
|
#include <sys/cdefs.h>
|
|
#include <sys/types.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
#define WEXITSTATUS(status) (((status)&0xff00) >> 8)
|
|
#define WTERMSIG(status) ((status)&0x7f)
|
|
#define WIFEXITED(status) (WTERMSIG(status) == 0)
|
|
#define WIFSIGNALED(status) (((char)(((status)&0x7f) + 1) >> 1) > 0)
|
|
|
|
#define WNOHANG 1
|
|
#define WUNTRACED 2
|
|
#define WSTOPPED WUNTRACED
|
|
#define WEXITED 4
|
|
#define WCONTINUED 8
|
|
|
|
pid_t wait(int* wstatus);
|
|
|
|
__END_DECLS
|