Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef ACE_OS_INCLUDE_SYS_OS_SELECT_H
00017 #define ACE_OS_INCLUDE_SYS_OS_SELECT_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/sys/os_time.h"
00028 #include "ace/os_include/os_signal.h"
00029 #include "ace/os_include/os_unistd.h"
00030
00031 #if !defined (ACE_LACKS_SYS_SELECT_H)
00032 # include <sys/select.h>
00033 #endif
00034
00035 #if defined (ACE_USES_SELECTLIB_H) && defined (ACE_LACKS_SYS_SELECT_H)
00036 # include <selectLib.h>
00037 #endif
00038
00039
00040 #ifdef __cplusplus
00041 extern "C"
00042 {
00043 #endif
00044
00045 #if defined (ACE_LACKS_FD_MASK)
00046 typedef long fd_mask;
00047 #endif
00048
00049 #if defined (ACE_WIN32)
00050
00051 # define NFDBITS 32
00052 #elif defined (ACE_LACKS_NFDBITS)
00053 # define NFDBITS (sizeof(fd_mask) * NBBY)
00054 #endif
00055
00056 #ifdef __cplusplus
00057 }
00058 #endif
00059
00060 #include "ace/post.h"
00061 #endif