summaryrefslogtreecommitdiff
path: root/ace/os_include/sys/os_uio.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/os_include/sys/os_uio.h')
-rw-r--r--ace/os_include/sys/os_uio.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/ace/os_include/sys/os_uio.h b/ace/os_include/sys/os_uio.h
index 1cb7a6d2e71..6c39c1e15b8 100644
--- a/ace/os_include/sys/os_uio.h
+++ b/ace/os_include/sys/os_uio.h
@@ -75,6 +75,20 @@ extern "C"
typedef struct iovec ACE_READV_TYPE;
#endif /* ACE_HAS_BROKEN_READV */
+# if defined (ACE_LACKS_TIMEDWAIT_PROTOTYPES)
+
+ ssize_t readv_timedwait (ACE_HANDLE handle,
+ iovec *iov,
+ int iovcnt,
+ struct timespec* timeout);
+
+ ssize_t writev_timedwait (ACE_HANDLE handle,
+ ACE_WRITEV_TYPE *iov,
+ int iovcnt,
+ struct timespec *timeout);
+
+# endif /* ACE_LACKS_TIMEDWAIT_PROTOTYPES */
+
#ifdef __cplusplus
}
#endif /* __cplusplus */