summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_sys_uio.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-06-28 14:50:36 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-06-28 14:50:36 +0200
commit6e2e9f862209e9dae3a282f2505e83d9dce2ac69 (patch)
treeb7300a069f00fcc8090bf1031ca78cafb899766a /ACE/ace/OS_NS_sys_uio.inl
parentb31a5c65ed12c73e68da8f8b5c33689adf1efabc (diff)
downloadATCD-6e2e9f862209e9dae3a282f2505e83d9dce2ac69.tar.gz
Removed FAIL value from ACE_OSCALL an ACE_OSCALL_RETURN, not used at all
* ACE/ace/Mem_Map.cpp: * ACE/ace/OS_NS_Thread.cpp: * ACE/ace/OS_NS_Thread.inl: * ACE/ace/OS_NS_arpa_inet.cpp: * ACE/ace/OS_NS_arpa_inet.inl: * ACE/ace/OS_NS_devctl.inl: * ACE/ace/OS_NS_dlfcn.inl: * ACE/ace/OS_NS_fcntl.cpp: * ACE/ace/OS_NS_fcntl.inl: * ACE/ace/OS_NS_macros.h: * ACE/ace/OS_NS_netdb.inl: * ACE/ace/OS_NS_poll.inl: * ACE/ace/OS_NS_regex.inl: * ACE/ace/OS_NS_signal.inl: * ACE/ace/OS_NS_stdio.inl: * ACE/ace/OS_NS_stdlib.inl: * ACE/ace/OS_NS_stropts.inl: * ACE/ace/OS_NS_sys_mman.inl: * ACE/ace/OS_NS_sys_msg.inl: * ACE/ace/OS_NS_sys_resource.inl: * ACE/ace/OS_NS_sys_shm.inl: * ACE/ace/OS_NS_sys_socket.inl: * ACE/ace/OS_NS_sys_stat.inl: * ACE/ace/OS_NS_sys_time.inl: * ACE/ace/OS_NS_sys_uio.inl: * ACE/ace/OS_NS_sys_utsname.cpp: * ACE/ace/OS_NS_sys_wait.inl: * ACE/ace/OS_NS_time.cpp: * ACE/ace/OS_NS_time.h: * ACE/ace/OS_NS_time.inl: * ACE/ace/OS_NS_unistd.cpp: * ACE/ace/OS_NS_unistd.inl: * ACE/ace/OS_NS_wchar.inl: * ACE/ace/OS_TLI.inl: * ACE/ace/config-macros.h: * TAO/TAO_IDL/be/be_helper.cpp:
Diffstat (limited to 'ACE/ace/OS_NS_sys_uio.inl')
-rw-r--r--ACE/ace/OS_NS_sys_uio.inl24
1 files changed, 6 insertions, 18 deletions
diff --git a/ACE/ace/OS_NS_sys_uio.inl b/ACE/ace/OS_NS_sys_uio.inl
index d31e7034e0f..71569b9b324 100644
--- a/ACE/ace/OS_NS_sys_uio.inl
+++ b/ACE/ace/OS_NS_sys_uio.inl
@@ -10,18 +10,12 @@ ACE_OS::readv (ACE_HANDLE handle,
{
ACE_OS_TRACE ("ACE_OS::readv");
#if defined (ACE_LACKS_READV)
- ACE_OSCALL_RETURN (ACE_OS::readv_emulation (handle, iov, iovlen),
- ssize_t,
- -1);
+ ACE_OSCALL_RETURN (ACE_OS::readv_emulation (handle, iov, iovlen), ssize_t);
#else /* ACE_LACKS_READV */
#if defined (ACE_HAS_NONCONST_READV)
- ACE_OSCALL_RETURN (::readv (handle,
- const_cast<iovec *>(iov),
- iovlen), ssize_t, -1);
+ ACE_OSCALL_RETURN (::readv (handle, const_cast<iovec *>(iov), iovlen), ssize_t);
#else
- ACE_OSCALL_RETURN (::readv (handle,
- iov,
- iovlen), ssize_t, -1);
+ ACE_OSCALL_RETURN (::readv (handle, iov, iovlen), ssize_t);
#endif /* ACE_HAS_NONCONST_READV */
#endif /* ACE_LACKS_READV */
}
@@ -33,18 +27,12 @@ ACE_OS::writev (ACE_HANDLE handle,
{
ACE_OS_TRACE ("ACE_OS::writev");
#if defined (ACE_LACKS_WRITEV)
- ACE_OSCALL_RETURN (ACE_OS::writev_emulation (handle,
- iov,
- iovcnt), ssize_t, -1);
+ ACE_OSCALL_RETURN (ACE_OS::writev_emulation (handle, iov, iovcnt), ssize_t);
#else /* ACE_LACKS_WRITEV */
#if defined (ACE_HAS_NONCONST_WRITEV)
- ACE_OSCALL_RETURN (::writev (handle,
- const_cast<iovec *>(iov),
- iovcnt), ssize_t, -1);
+ ACE_OSCALL_RETURN (::writev (handle, const_cast<iovec *>(iov), iovcnt), ssize_t);
#else
- ACE_OSCALL_RETURN (::writev (handle,
- iov,
- iovcnt), ssize_t, -1);
+ ACE_OSCALL_RETURN (::writev (handle, iov, iovcnt), ssize_t);
#endif /* ACE_HAS_NONCONST_WRITEV */
#endif /* ACE_LACKS_WRITEV */
}