00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef ACE_OS_INCLUDE_SYS_OS_WAIT_H
00017 #define ACE_OS_INCLUDE_SYS_OS_WAIT_H
00018
00019 #include "ace/pre.h"
00020
00021 #include "ace/config-lite.h"
00022
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif
00026
00027 #include "ace/os_include/os_signal.h"
00028 #include "ace/os_include/sys/os_resource.h"
00029
00030 #if !defined (ACE_LACKS_SYS_WAIT_H)
00031 # include <sys/wait.h>
00032 #endif
00033
00034
00035 #ifdef __cplusplus
00036 extern "C"
00037 {
00038 #endif
00039
00040
00041
00042
00043 # if !defined (WCOREDUMP)
00044 # define WCOREDUMP(stat) 0
00045 # endif
00046
00047 # if !defined (WNOHANG)
00048 # define WNOHANG 0100
00049 # endif
00050
00051
00052
00053
00054
00055 # if !defined (WEXITSTATUS)
00056 # define WEXITSTATUS(stat) stat
00057 # endif
00058
00059 # if !defined (WIFCONTINUED)
00060 # define WIFCONTINUED(stat) 0
00061 # endif
00062
00063
00064
00065
00066 # if !defined (WIFEXITED)
00067 # define WIFEXITED(stat) 1
00068 # endif
00069
00070
00071
00072
00073 # if !defined (WIFSIGNALED)
00074 # define WIFSIGNALED(stat) 0
00075 # endif
00076
00077 # if !defined (WIFSTOPPED)
00078 # define WIFSTOPPED(stat) 0
00079 # endif
00080
00081 # if !defined (WSTOPSIG)
00082 # define WSTOPSIG(stat) 0
00083 # endif
00084
00085
00086
00087
00088 # if !defined (WTERMSIG)
00089 # define WTERMSIG(stat) 0
00090 # endif
00091
00092 #ifdef __cplusplus
00093 }
00094 #endif
00095
00096 #include "ace/post.h"
00097 #endif