Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / OS_NS_sys_uio.h
blob2487d71c2889d1d75795fa4b9a0384bf0fcfb975
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 //=============================================================================
13 #ifndef ACE_OS_NS_SYS_UIO_H
14 # define ACE_OS_NS_SYS_UIO_H
16 # include /**/ "ace/pre.h"
18 # include "ace/config-all.h"
20 # if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 # endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "ace/os_include/sys/os_uio.h"
25 #include /**/ "ace/ACE_export.h"
27 #if defined (ACE_EXPORT_MACRO)
28 # undef ACE_EXPORT_MACRO
29 #endif
30 #define ACE_EXPORT_MACRO ACE_Export
32 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
34 namespace ACE_OS
36 ACE_NAMESPACE_INLINE_FUNCTION
37 ssize_t readv (ACE_HANDLE handle,
38 const iovec *iov,
39 int iovlen);
41 #if defined (ACE_LACKS_READV)
42 extern ACE_Export
43 ssize_t readv_emulation (ACE_HANDLE handle,
44 const iovec *iov,
45 int iovcnt);
46 #endif /* ACE_LACKS_READV */
48 ACE_NAMESPACE_INLINE_FUNCTION
49 ssize_t writev (ACE_HANDLE handle,
50 const iovec *iov,
51 int iovcnt);
53 // these don't need to be in the header, better to put them in the cpp
54 // or inl.
55 #if defined (ACE_LACKS_WRITEV)
56 extern ACE_Export
57 ssize_t writev_emulation (ACE_HANDLE handle,
58 const iovec *iov,
59 int iovcnt);
60 #endif /* ACE_LACKS_WRITEV */
62 } /* namespace ACE_OS */
64 ACE_END_VERSIONED_NAMESPACE_DECL
66 # if defined (ACE_HAS_INLINED_OSCALLS)
67 # if defined (ACE_INLINE)
68 # undef ACE_INLINE
69 # endif /* ACE_INLINE */
70 # define ACE_INLINE inline
71 # include "ace/OS_NS_sys_uio.inl"
72 # endif /* ACE_HAS_INLINED_OSCALLS */
74 # include /**/ "ace/post.h"
75 #endif /* ACE_OS_NS_SYS_UIO_H */