Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / OS_NS_sys_resource.h
blob8344b03dc53a37c047453e249e345b2b25988b9d
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file OS_NS_sys_resource.h
7 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
8 * @author Jesper S. M|ller<stophph@diku.dk>
9 * @author and a cast of thousands...
11 //=============================================================================
13 #ifndef ACE_OS_NS_SYS_RESOURCE_H
14 # define ACE_OS_NS_SYS_RESOURCE_H
16 # include /**/ "ace/pre.h"
18 # include "ace/config-all.h"
20 # if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 # endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "ace/os_include/sys/os_resource.h"
25 #include /**/ "ace/ACE_export.h"
27 #if defined (ACE_EXPORT_MACRO)
28 # undef ACE_EXPORT_MACRO
29 #endif
30 #define ACE_EXPORT_MACRO ACE_Export
32 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
34 namespace ACE_OS
36 ACE_NAMESPACE_INLINE_FUNCTION
37 int getrlimit (int resource,
38 struct rlimit *rl);
40 ACE_NAMESPACE_INLINE_FUNCTION
41 int getrusage (int who,
42 struct rusage *rusage);
45 ACE_NAMESPACE_INLINE_FUNCTION
46 int setrlimit (int resource,
47 const struct rlimit *rl);
48 } /* namespace ACE_OS */
50 ACE_END_VERSIONED_NAMESPACE_DECL
52 # if defined (ACE_HAS_INLINED_OSCALLS)
53 # if defined (ACE_INLINE)
54 # undef ACE_INLINE
55 # endif /* ACE_INLINE */
56 # define ACE_INLINE inline
57 # include "ace/OS_NS_sys_resource.inl"
58 # endif /* ACE_HAS_INLINED_OSCALLS */
60 # include /**/ "ace/post.h"
61 #endif /* ACE_OS_NS_SYS_RESOURCE_H */