Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef ACE_OS_NS_POLL_H
00018 # define ACE_OS_NS_POLL_H
00019
00020 # include "ace/pre.h"
00021
00022 # include "ace/config-all.h"
00023
00024 # if !defined (ACE_LACKS_PRAGMA_ONCE)
00025 # pragma once
00026 # endif
00027
00028 #include "ace/os_include/os_poll.h"
00029 #include "ace/ACE_export.h"
00030
00031 #if defined (ACE_EXPORT_MACRO)
00032 # undef ACE_EXPORT_MACRO
00033 #endif
00034 #define ACE_EXPORT_MACRO ACE_Export
00035
00036 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00037
00038 class ACE_Time_Value;
00039
00040 namespace ACE_OS
00041 {
00042
00043 ACE_NAMESPACE_INLINE_FUNCTION
00044 int poll (struct pollfd *pollfds,
00045 unsigned long len,
00046 const ACE_Time_Value *tv = 0);
00047
00048 ACE_NAMESPACE_INLINE_FUNCTION
00049 int poll (struct pollfd *pollfds,
00050 unsigned long len,
00051 const ACE_Time_Value &tv);
00052
00053 }
00054
00055 ACE_END_VERSIONED_NAMESPACE_DECL
00056
00057 # if defined (ACE_HAS_INLINED_OSCALLS)
00058 # if defined (ACE_INLINE)
00059 # undef ACE_INLINE
00060 # endif
00061 # define ACE_INLINE inline
00062 # include "ace/OS_NS_poll.inl"
00063 # endif
00064
00065 # include "ace/post.h"
00066 #endif