From ac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b Mon Sep 17 00:00:00 2001 From: Adam Mitz Date: Fri, 6 Nov 2015 17:07:11 -0600 Subject: Merged branch ace-face-safety (FACE Safety Profile import from OCITAO). --- ACE/ace/OS_NS_devctl.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 ACE/ace/OS_NS_devctl.h (limited to 'ACE/ace/OS_NS_devctl.h') diff --git a/ACE/ace/OS_NS_devctl.h b/ACE/ace/OS_NS_devctl.h new file mode 100644 index 00000000000..40621d00859 --- /dev/null +++ b/ACE/ace/OS_NS_devctl.h @@ -0,0 +1,40 @@ +#ifndef ACE_OS_NS_DEVCTL_H +#define ACE_OS_NS_DEVCTL_H + +#include "ace/pre.h" +#include "ace/config-all.h" + +#ifndef ACE_LACKS_PRAGMA_ONCE +#pragma once +#endif + +#include "ace/os_include/sys/os_types.h" + +#include "ace/ACE_export.h" + +#ifdef ACE_EXPORT_MACRO +# undef ACE_EXPORT_MACRO +#endif +#define ACE_EXPORT_MACRO ACE_Export + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL +namespace ACE_OS { + + ACE_NAMESPACE_INLINE_FUNCTION + int posix_devctl (int filedes, int dcmd, + void *dev_data_ptr, size_t nbyte, + int *dev_info_ptr); + +} +ACE_END_VERSIONED_NAMESPACE_DECL + +#ifdef ACE_HAS_INLINED_OSCALLS +# ifdef ACE_INLINE +# undef ACE_INLINE +# endif +# define ACE_INLINE inline +# include "ace/OS_NS_devctl.inl" +#endif + +#include "ace/post.h" +#endif // ACE_OS_NS_DEVCTL_H -- cgit v1.2.1