54 #ifndef __INCLUDE_SYS_WAIT_H 55 #define __INCLUDE_SYS_WAIT_H 61 #include <sys/types.h> 64 #ifdef CONFIG_SCHED_WAITPID 77 #define WEXITSTATUS(s) (((s) >> 8) & 0xff) 78 #define WIFEXITED(s) (((s) & 0xff) == 0) 80 #define WIFCONTINUED(s) (false) 81 #define WIFSIGNALED(s) (false) 82 #define WIFSTOPPED(s) (false) 83 #define WSTOPSIG(s) (false) 84 #define WTERMSIG(s) (false) 90 #define WCONTINUED (1 << 0) 91 #define WNOHANG (1 << 1) 92 #define WUNTRACED (1 << 2) 93 #define WEXITED (1 << 3) 94 #define WSTOPPED (1 << 4) 95 #define WNOWAIT (1 << 5) 118 #if defined(__cplusplus) 119 #define EXTERN extern "C" 122 #define EXTERN extern 316 EXTERN pid_t
waitpid(pid_t pid, FAR
int *stat_loc,
int options);
319 #if defined(__cplusplus)
Structure for using to pass parameters to/from signal handlers.
EXTERN int waitid(idtype_t idtype, id_t id, FAR siginfo_t *info, int options)
suspend execution of the calling thread
EXTERN pid_t waitpid(pid_t pid, FAR int *stat_loc, int options)
suspend execution of the calling thread
EXTERN pid_t wait(FAR int *stat_loc)
suspend execution of the calling thread
idtype_e
Enumeration for waitid idtype.