// POSIX child wait declarations backed by posixsrv process records. #pragma once #include #include #define WNOHANG 0x00000001 #define WEXITSTATUS(status) (((status) >> 8) & 0xff) #define WIFEXITED(status) (((status) & 0x7f) == 0) NTL_POSIX_API pid_t wait(int* status); NTL_POSIX_API pid_t waitpid(pid_t pid, int* status, int options);