Also use Objects as part of an operation but as a result don't generate Any operation...
[ACE_TAO.git] / ACE / ace / OS_NS_sys_shm.h
blobd7597ca9f9c159499319a1d6ef78beb95c37ace1
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file OS_NS_sys_shm.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 * Originally in OS.h.
13 //=============================================================================
15 #ifndef ACE_OS_NS_SYS_SHM_H
16 # define ACE_OS_NS_SYS_SHM_H
18 # include /**/ "ace/pre.h"
20 # include "ace/config-all.h"
22 # if !defined (ACE_LACKS_PRAGMA_ONCE)
23 # pragma once
24 # endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "ace/os_include/sys/os_shm.h"
27 #include /**/ "ace/ACE_export.h"
29 #if defined (ACE_EXPORT_MACRO)
30 # undef ACE_EXPORT_MACRO
31 #endif
32 #define ACE_EXPORT_MACRO ACE_Export
34 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
36 namespace ACE_OS
38 //@{ @name A set of wrappers for System V shared memory.
39 ACE_NAMESPACE_INLINE_FUNCTION
40 void *shmat (int int_id,
41 const void *shmaddr,
42 int shmflg);
44 ACE_NAMESPACE_INLINE_FUNCTION
45 int shmctl (int int_id,
46 int cmd,
47 struct shmid_ds *buf);
49 ACE_NAMESPACE_INLINE_FUNCTION
50 int shmdt (const void *shmaddr);
52 ACE_NAMESPACE_INLINE_FUNCTION
53 int shmget (key_t key,
54 size_t size,
55 int flags);
56 //@}
57 } /* namespace ACE_OS */
59 ACE_END_VERSIONED_NAMESPACE_DECL
61 # if defined (ACE_HAS_INLINED_OSCALLS)
62 # if defined (ACE_INLINE)
63 # undef ACE_INLINE
64 # endif /* ACE_INLINE */
65 # define ACE_INLINE inline
66 # include "ace/OS_NS_sys_shm.inl"
67 # endif /* ACE_HAS_INLINED_OSCALLS */
69 # include /**/ "ace/post.h"
70 #endif /* ACE_OS_NS_SYS_SHM_H */