summaryrefslogtreecommitdiff
path: root/ace/DEV_IO.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/DEV_IO.i')
-rw-r--r--ace/DEV_IO.i24
1 files changed, 12 insertions, 12 deletions
diff --git a/ace/DEV_IO.i b/ace/DEV_IO.i
index 3faad385161..934c1ae3e94 100644
--- a/ace/DEV_IO.i
+++ b/ace/DEV_IO.i
@@ -6,7 +6,7 @@
// Send exactly N bytes from BUF to this device. Keeping trying until
// this many bytes are sent.
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::send_n (const void *buf, size_t n) const
{
ACE_TRACE ("ACE_DEV_IO::send_n");
@@ -16,42 +16,42 @@ ACE_DEV_IO::send_n (const void *buf, size_t n) const
// Receive exactly N bytes from this file into BUF. Keep trying until
// this many bytes are received.
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::recv_n (void *buf, size_t n) const
{
ACE_TRACE ("ACE_DEV_IO::recv_n");
return ACE::read_n (this->get_handle (), buf, n);
}
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::send (const void *buf, size_t n) const
{
ACE_TRACE ("ACE_DEV_IO::send");
return ACE_OS::write (this->get_handle (), (const char *) buf, n);
}
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::recv (void *buf, size_t n) const
{
ACE_TRACE ("ACE_DEV_IO::recv");
return ACE_OS::read (this->get_handle (), (char *) buf, n);
}
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::send (const iovec iov[], size_t n) const
{
ACE_TRACE ("ACE_DEV_IO::send");
return ACE_OS::writev (this->get_handle (), (iovec *) iov, n);
}
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::recv (iovec iov[], size_t n) const
{
ACE_TRACE ("ACE_DEV_IO::recv");
return ACE_OS::readv (this->get_handle (), (iovec *) iov, n);
}
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::send (const void *buf, size_t n,
ACE_OVERLAPPED *overlapped) const
{
@@ -61,7 +61,7 @@ ACE_DEV_IO::send (const void *buf, size_t n,
overlapped);
}
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::recv (void *buf, size_t n,
ACE_OVERLAPPED *overlapped) const
{
@@ -71,28 +71,28 @@ ACE_DEV_IO::recv (void *buf, size_t n,
}
#if defined (ACE_HAS_STREAM_PIPES)
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::recv (ACE_Str_Buf *cntl, ACE_Str_Buf *data, int *band, int *flags) const
{
ACE_TRACE ("ACE_DEV_IO::recv");
return ACE_OS::getpmsg (this->get_handle (), (strbuf *) cntl, (strbuf *) data, band, flags);
}
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::send (const ACE_Str_Buf *cntl, const ACE_Str_Buf *data, int band, int flags) const
{
ACE_TRACE ("ACE_DEV_IO::send");
return ACE_OS::putpmsg (this->get_handle (), (strbuf *) cntl, (strbuf *) data, band, flags);
}
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::recv (ACE_Str_Buf *cntl, ACE_Str_Buf *data, int *flags) const
{
ACE_TRACE ("ACE_DEV_IO::recv");
return ACE_OS::getmsg (this->get_handle (), (strbuf *) cntl, (strbuf *) data, flags);
}
-inline ssize_t
+ASYS_INLINE ssize_t
ACE_DEV_IO::send (const ACE_Str_Buf *cntl, const ACE_Str_Buf *data, int flags) const
{
ACE_TRACE ("ACE_DEV_IO::send");