OrionLibC
Barry Importing existing Orion LibC 03048a9 (3 years, 2 months ago)
#ifndef _SYS_INCLUDE_H
#define _SYS_INCLUDE_H
#include <sys/types.h>
#define WIFEXITED(status) (status & (1 << 31))
#define WEXITSTATUS(status) (status & 0x0F)
#define WIFSIGNALED(status) (!(status & (1 << 31)))
#define WTERMSIG(status) (status & 0xFF)
#ifdef __cplusplus
extern "C" {
#endif
pid_t wait(int *wstatus);
pid_t waitpid(pid_t pid, int *wstatus, int options);
#ifdef __cplusplus
}
#endif
#endif