#include <WAIT.H>
Link against:
estlib.lib
WIFEXITED (w) (((w) & 0xff) == 0)
Description
A status looks like: <2 bytes info> <2 bytes code>
== 0, child has exited, info is the exit value == 1..7e, child has exited, info is the signal number. == 7f, child has
stopped, info was the signal number. == 80, there was a core dump. <code/>
Parameters
WIFSIGNALED (w) (((w) & 0x7f) > 0 && ((w) & 0x7f< 0x7f))
Description
Parameters
WIFSTOPPED (w) (((w) & 0xff) == 0x7f)
Description
Parameters
WEXITSTATUS (w) (((w) >> 8) & 0xff)
Description
Parameters
WTERMSIG (w) ((w) & 0x7f)
Description
Parameters
WSTOPSIG WEXITSTATUS
Description
WAIT_ANY (-1)
Description
IMPORT_C pid_t wait(int *status);
Description
Calls reentrant version of waitpid(pid_t,int *,int)
waitpid(pid_t,int *,int)
.
Parameters
Return value
IMPORT_C pid_t waitpid(pid_t pid, int *status, int options);
Description
Parameters
Return value