Main Page | Alphabetical List | Class List | File List | Class Members | File Members

wait.h File Reference

#include <nlibc.h>

Include dependency graph for wait.h:

Include dependency graph

Go to the source code of this file.

Defines

#define WEXITSTATUS(status)   (((status)&0xff00) >> 8)
#define WTERMSIG(status)   ((status) & 0x7f)
#define WSTOPSIG(status)   WEXITSTATUS(status)
#define WIFEXITED(status)   (WTERMSIG(status) == 0)
#define WIFSIGNALED(status)   (!WIFSTOPPED(status) && !WIFEXITED(status))
#define WIFSTOPPED(status)   (((status) & 0xff) == 0x7f)


Define Documentation

#define WEXITSTATUS status   )     (((status)&0xff00) >> 8)
 

Definition at line 21 of file wait.h.

#define WIFEXITED status   )     (WTERMSIG(status) == 0)
 

Definition at line 24 of file wait.h.

#define WIFSIGNALED status   )     (!WIFSTOPPED(status) && !WIFEXITED(status))
 

Definition at line 25 of file wait.h.

#define WIFSTOPPED status   )     (((status) & 0xff) == 0x7f)
 

Definition at line 26 of file wait.h.

#define WSTOPSIG status   )     WEXITSTATUS(status)
 

Definition at line 23 of file wait.h.

#define WTERMSIG status   )     ((status) & 0x7f)
 

Definition at line 22 of file wait.h.


Generated on Mon Feb 20 15:54:56 2006 for nlibc by doxygen 1.3.5