OS_NS_sys_uio.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file   OS_NS_sys_uio.h
00006  *
00007  *  OS_NS_sys_uio.h,v 1.6 2005/10/28 16:14:54 ossama Exp
00008  *
00009  *  @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
00010  *  @author Jesper S. M|ller<stophph@diku.dk>
00011  *  @author and a cast of thousands...
00012  *
00013  *  Originally in OS.h.
00014  */
00015 //=============================================================================
00016 
00017 #ifndef ACE_OS_NS_SYS_UIO_H
00018 # define ACE_OS_NS_SYS_UIO_H
00019 
00020 # include /**/ "ace/pre.h"
00021 
00022 # include "ace/config-all.h"
00023 
00024 # if !defined (ACE_LACKS_PRAGMA_ONCE)
00025 #  pragma once
00026 # endif /* ACE_LACKS_PRAGMA_ONCE */
00027 
00028 #include "ace/os_include/sys/os_uio.h"
00029 #include "ace/ACE_export.h"
00030 
00031 #if defined (ACE_EXPORT_MACRO)
00032 #  undef ACE_EXPORT_MACRO
00033 #endif
00034 #define ACE_EXPORT_MACRO ACE_Export
00035 
00036 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00037 
00038 namespace ACE_OS
00039 {
00040 
00041   ACE_NAMESPACE_INLINE_FUNCTION
00042   ssize_t readv (ACE_HANDLE handle,
00043                  const iovec *iov,
00044                  int iovlen);
00045 
00046 #if defined (ACE_LACKS_READV)
00047   extern ACE_Export
00048   ssize_t readv_emulation (ACE_HANDLE handle,
00049                            const iovec *iov,
00050                            int iovcnt);
00051 #endif /* ACE_LACKS_READV */
00052 
00053   ACE_NAMESPACE_INLINE_FUNCTION
00054   ssize_t writev (ACE_HANDLE handle,
00055                   const iovec *iov,
00056                   int iovcnt);
00057 
00058   // these don't need to be in the header, better to put them in the cpp
00059   //  or inl.
00060 #if defined (ACE_LACKS_WRITEV)
00061   extern ACE_Export
00062   ssize_t writev_emulation (ACE_HANDLE handle,
00063                             const iovec *iov,
00064                             int iovcnt);
00065 #endif /* ACE_LACKS_WRITEV */
00066 
00067 } /* namespace ACE_OS */
00068 
00069 ACE_END_VERSIONED_NAMESPACE_DECL
00070 
00071 # if defined (ACE_HAS_INLINED_OSCALLS)
00072 #   if defined (ACE_INLINE)
00073 #     undef ACE_INLINE
00074 #   endif /* ACE_INLINE */
00075 #   define ACE_INLINE inline
00076 #   include "ace/OS_NS_sys_uio.inl"
00077 # endif /* ACE_HAS_INLINED_OSCALLS */
00078 
00079 # include /**/ "ace/post.h"
00080 #endif /* ACE_OS_NS_SYS_UIO_H */

Generated on Thu Nov 9 09:41:58 2006 for ACE by doxygen 1.3.6