2 #include "ace/OS_NS_stropts.h"
4 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 ACE_FIFO_Send_Msg::send (const void *buf, size_t len)
9 ACE_TRACE ("ACE_FIFO_Send_Msg::send");
10 ACE_Str_Buf send_msg ((char *) buf, static_cast<int> (len));
12 return this->send (send_msg);
15 #if defined (ACE_HAS_STREAM_PIPES)
17 ACE_FIFO_Send_Msg::send (const ACE_Str_Buf *data,
18 const ACE_Str_Buf *cntl,
21 ACE_TRACE ("ACE_FIFO_Send_Msg::send");
22 if (ACE_OS::putmsg (this->get_handle (),
28 return (cntl == 0 ? 0 : cntl->len) + (data == 0 ? 0 : data->len);
32 ACE_FIFO_Send_Msg::send (int band,
33 const ACE_Str_Buf *data,
34 const ACE_Str_Buf *cntl,
37 ACE_TRACE ("ACE_FIFO_Send_Msg::send");
39 if (ACE_OS::putpmsg (this->get_handle (),
46 return (cntl == 0 ? 0 : cntl->len) + (data == 0 ? 0 : data->len);
48 #endif /* ACE_HAS_STREAM_PIPES */
50 ACE_END_VERSIONED_NAMESPACE_DECL