summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_devctl.h
diff options
context:
space:
mode:
authorAdam Mitz <mitza@ociweb.com>2015-11-06 17:07:11 -0600
committerAdam Mitz <mitza@ociweb.com>2015-11-06 17:07:11 -0600
commitac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b (patch)
tree0e70d1f51c39e688a05a6cdc2af58408222e4a0d /ACE/ace/OS_NS_devctl.h
parent5272b5b81f92c298cb998b5bb0b0dbca3e7f29fe (diff)
downloadATCD-ac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b.tar.gz
Merged branch ace-face-safety (FACE Safety Profile import from OCITAO).
Diffstat (limited to 'ACE/ace/OS_NS_devctl.h')
-rw-r--r--ACE/ace/OS_NS_devctl.h40
1 files changed, 40 insertions, 0 deletions
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