summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_devctl.h
blob: c1ed2975b90ceacd6ae9d6fa08d9a2c6f095a256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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