wait.h File Reference

#include <sys/types.h>

Include dependency graph for wait.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _LOW(v)   ( (v) & 0377)
#define _HIGH(v)   ( ((v) >> 8) & 0377)
#define WNOHANG   1
#define WUNTRACED   2
#define WIFEXITED(s)   (_LOW(s) == 0)
#define WEXITSTATUS(s)   (_HIGH(s))
#define WTERMSIG(s)   (_LOW(s) & 0177)
#define WIFSIGNALED(s)   (((unsigned int)(s)-1 & 0xFFFF) < 0xFF)
#define WIFSTOPPED(s)   (_LOW(s) == 0177)
#define WSTOPSIG(s)   (_HIGH(s) & 0377)

Functions

 _PROTOTYPE (pid_t wait,(int *_stat_loc))
 _PROTOTYPE (pid_t waitpid,(pid_t _pid, int *_stat_loc, int _options))


Define Documentation

#define _HIGH  )     ( ((v) >> 8) & 0377)
 

Definition at line 24 of file wait.h.

#define _LOW  )     ( (v) & 0377)
 

Definition at line 23 of file wait.h.

Referenced by dowait().

#define WEXITSTATUS s   )     (_HIGH(s))
 

Definition at line 30 of file wait.h.

Referenced by catch_child(), do_exit(), dowait(), locked(), m_shell(), main(), tellstatus(), test20d(), test2d(), test2e(), test2f(), test38a(), and test7c().

#define WIFEXITED s   )     (_LOW(s) == 0)
 

Definition at line 29 of file wait.h.

Referenced by do_exit(), dowait(), locked(), m_shell(), main(), tellstatus(), test20d(), test2d(), test2e(), and test38a().

#define WIFSIGNALED s   )     (((unsigned int)(s)-1 & 0xFFFF) < 0xFF)
 

Definition at line 32 of file wait.h.

Referenced by do_exit(), dowait(), test20d(), test2d(), test2e(), and test38a().

#define WIFSTOPPED s   )     (_LOW(s) == 0177)
 

Definition at line 33 of file wait.h.

Referenced by catch_child().

#define WNOHANG   1
 

Definition at line 26 of file wait.h.

Referenced by catch_child(), do_exit(), main(), sigchld(), test2d(), and waitproc().

#define WSTOPSIG s   )     (_HIGH(s) & 0377)
 

Definition at line 34 of file wait.h.

Referenced by dowait().

#define WTERMSIG s   )     (_LOW(s) & 0177)
 

Definition at line 31 of file wait.h.

Referenced by catch_child(), do_exit(), dowait(), tellstatus(), test2d(), and test38a().

#define WUNTRACED   2
 

Definition at line 27 of file wait.h.

Referenced by catch_child(), and waitproc().


Function Documentation

_PROTOTYPE pid_t  waitpid,
(pid_t _pid, int *_stat_loc, int _options) 
 

_PROTOTYPE pid_t  wait,
(int *_stat_loc) 
 


Generated on Fri Apr 14 23:13:43 2006 for minix by  doxygen 1.4.6