wait.h File Reference

API published in:
API deprecated in:


#include <sys/cdefs.h>
#include <sys/types.h>

Go to the source code of this file.


Defines

#define _W_INT(i)   (i)
#define _WSTATUS(x)   (_W_INT(x) & 0177)
#define _WSTOPPED   0177
#define WIFSTOPPED(x)   (_WSTATUS(x) == _WSTOPPED)
#define WSTOPSIG(x)   (_W_INT(x) >> 8)
#define WIFSIGNALED(x)   (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0)
#define WTERMSIG(x)   (_WSTATUS(x))
#define WIFEXITED(x)   (_WSTATUS(x) == 0)
#define WEXITSTATUS(x)   (_W_INT(x) >> 8)
#define WIFCONTINUED(x)   (x == 0x13)
#define WNOHANG   1
#define WUNTRACED   2
#define WCONTINUED   4

Functions

__BEGIN_DECLS IMPORT_C pid_t wait (int *)
IMPORT_C pid_t waitpid (pid_t, int *, int)

Define Documentation

#define _W_INT  )    (i)
 
#define _WSTATUS  )    (_W_INT(x) & 0177)
 
#define _WSTOPPED   0177
 
#define WCONTINUED   4
 
#define WEXITSTATUS  )    (_W_INT(x) >> 8)
 
#define WIFCONTINUED  )    (x == 0x13)
 
#define WIFEXITED  )    (_WSTATUS(x) == 0)
 
#define WIFSIGNALED  )    (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0)
 
#define WIFSTOPPED  )    (_WSTATUS(x) == _WSTOPPED)
 
#define WNOHANG   1
 
#define WSTOPSIG  )    (_W_INT(x) >> 8)
 
#define WTERMSIG  )    (_WSTATUS(x))
 
#define WUNTRACED   2
 

Function Documentation

__BEGIN_DECLS IMPORT_C pid_t wait int *   ) 
 
IMPORT_C pid_t waitpid pid_t ,
int * ,
int 
 

Copyright © Nokia Corporation 2001-2008
Back to top