GitHub Actions: Try MSVC builds with /std:c++17 and 20
[ACE_TAO.git] / ACE / ace / OS_NS_sys_uio.h
blobe03894b30072c4df5ba0513aea997faf4f044582
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file OS_NS_sys_uio.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 * Originally in OS.h.
13 //=============================================================================
15 #ifndef ACE_OS_NS_SYS_UIO_H
16 # define ACE_OS_NS_SYS_UIO_H
18 # include /**/ "ace/pre.h"
20 # include "ace/config-all.h"
22 # if !defined (ACE_LACKS_PRAGMA_ONCE)
23 # pragma once
24 # endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "ace/os_include/sys/os_uio.h"
27 #include /**/ "ace/ACE_export.h"
29 #if defined (ACE_EXPORT_MACRO)
30 # undef ACE_EXPORT_MACRO
31 #endif
32 #define ACE_EXPORT_MACRO ACE_Export
34 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
36 namespace ACE_OS
39 ACE_NAMESPACE_INLINE_FUNCTION
40 ssize_t readv (ACE_HANDLE handle,
41 const iovec *iov,
42 int iovlen);
44 #if defined (ACE_LACKS_READV)
45 extern ACE_Export
46 ssize_t readv_emulation (ACE_HANDLE handle,
47 const iovec *iov,
48 int iovcnt);
49 #endif /* ACE_LACKS_READV */
51 ACE_NAMESPACE_INLINE_FUNCTION
52 ssize_t writev (ACE_HANDLE handle,
53 const iovec *iov,
54 int iovcnt);
56 // these don't need to be in the header, better to put them in the cpp
57 // or inl.
58 #if defined (ACE_LACKS_WRITEV)
59 extern ACE_Export
60 ssize_t writev_emulation (ACE_HANDLE handle,
61 const iovec *iov,
62 int iovcnt);
63 #endif /* ACE_LACKS_WRITEV */
65 } /* namespace ACE_OS */
67 ACE_END_VERSIONED_NAMESPACE_DECL
69 # if defined (ACE_HAS_INLINED_OSCALLS)
70 # if defined (ACE_INLINE)
71 # undef ACE_INLINE
72 # endif /* ACE_INLINE */
73 # define ACE_INLINE inline
74 # include "ace/OS_NS_sys_uio.inl"
75 # endif /* ACE_HAS_INLINED_OSCALLS */
77 # include /**/ "ace/post.h"
78 #endif /* ACE_OS_NS_SYS_UIO_H */