summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_devctl.h
diff options
context:
space:
mode:
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