Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / FIFO_Send.cpp
blobfc92f1c172b62779b38630954033104a5bbcdfef
1 #include "ace/FIFO_Send.h"
2 #include "ace/Log_Category.h"
3 #if defined (ACE_HAS_ALLOC_HOOKS)
4 # include "ace/Malloc_Base.h"
5 #endif /* ACE_HAS_ALLOC_HOOKS */
7 #if !defined (__ACE_INLINE__)
8 #include "ace/FIFO_Send.inl"
9 #endif /* __ACE_INLINE__ */
11 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
13 ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Send)
15 void
16 ACE_FIFO_Send::dump () const
18 #if defined (ACE_HAS_DUMP)
19 ACE_TRACE ("ACE_FIFO_Send::dump");
20 ACE_FIFO::dump ();
21 #endif /* ACE_HAS_DUMP */
24 ACE_FIFO_Send::ACE_FIFO_Send ()
26 // ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send");
29 int
30 ACE_FIFO_Send::open (const ACE_TCHAR *rendezvous_name,
31 int flags,
32 mode_t perms,
33 LPSECURITY_ATTRIBUTES sa)
35 ACE_TRACE ("ACE_FIFO_Send::open");
36 return ACE_FIFO::open (rendezvous_name,
37 flags | O_WRONLY,
38 perms,
39 sa);
42 ACE_FIFO_Send::ACE_FIFO_Send (const ACE_TCHAR *fifo_name,
43 int flags,
44 mode_t perms,
45 LPSECURITY_ATTRIBUTES sa)
47 ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send");
48 if (this->ACE_FIFO_Send::open (fifo_name,
49 flags,
50 perms,
51 sa) == -1)
52 ACELIB_ERROR ((LM_ERROR,
53 ACE_TEXT ("%p\n"),
54 ACE_TEXT ("ACE_FIFO_Send::ACE_FIFO_Send")));
57 ACE_END_VERSIONED_NAMESPACE_DECL