Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / OS_NS_sys_msg.h
blob69a8d83461759febb0fddf65071910e66025f4a3
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file OS_NS_sys_msg.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_MSG_H
14 # define ACE_OS_NS_SYS_MSG_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_msg.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 {
35 //@{ @name A set of wrappers for System V message queues.
36 ACE_NAMESPACE_INLINE_FUNCTION
37 int msgctl (int msqid,
38 int cmd,
39 struct msqid_ds *);
41 ACE_NAMESPACE_INLINE_FUNCTION
42 int msgget (key_t key,
43 int msgflg);
45 ACE_NAMESPACE_INLINE_FUNCTION
46 ssize_t msgrcv (int int_id,
47 void *buf,
48 size_t len,
49 long type,
50 int flags);
52 ACE_NAMESPACE_INLINE_FUNCTION
53 int msgsnd (int int_id,
54 const void *buf,
55 size_t len,
56 int flags);
57 //@}
59 } /* namespace ACE_OS */
61 ACE_END_VERSIONED_NAMESPACE_DECL
63 # if defined (ACE_HAS_INLINED_OSCALLS)
64 # if defined (ACE_INLINE)
65 # undef ACE_INLINE
66 # endif /* ACE_INLINE */
67 # define ACE_INLINE inline
68 # include "ace/OS_NS_sys_msg.inl"
69 # endif /* ACE_HAS_INLINED_OSCALLS */
71 # include /**/ "ace/post.h"
72 #endif /* ACE_OS_NS_SYS_MSG_H */