summaryrefslogtreecommitdiff
path: root/ace/FIFO_Send.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ace/FIFO_Send.inl')
-rw-r--r--ace/FIFO_Send.inl21
1 files changed, 21 insertions, 0 deletions
diff --git a/ace/FIFO_Send.inl b/ace/FIFO_Send.inl
new file mode 100644
index 00000000000..eb503d9b831
--- /dev/null
+++ b/ace/FIFO_Send.inl
@@ -0,0 +1,21 @@
+/* -*- C++ -*- */
+// $Id$
+
+// FIFO_Send.i
+
+#include "ace/ACE.h"
+#include "ace/OS_NS_unistd.h"
+
+ACE_INLINE ssize_t
+ACE_FIFO_Send::send (const void *buf, size_t len)
+{
+ ACE_TRACE ("ACE_FIFO_Send::send");
+ return ACE_OS::write (this->get_handle (), (const char *) buf, len);
+}
+
+ACE_INLINE ssize_t
+ACE_FIFO_Send::send_n (const void *buf, size_t n)
+{
+ ACE_TRACE ("ACE_FIFO_Send::send_n");
+ return ACE::send_n (this->get_handle (), buf, n);
+}