Fixed typos
[ACE_TAO.git] / ACE / ace / FIFO_Send.cpp
blob0c37b917ecc70a24b6573cab43f99c52cecaeb98
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__ */
13 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
15 ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Send)
17 void
18 ACE_FIFO_Send::dump (void) const
20 #if defined (ACE_HAS_DUMP)
21 ACE_TRACE ("ACE_FIFO_Send::dump");
22 ACE_FIFO::dump ();
23 #endif /* ACE_HAS_DUMP */
26 ACE_FIFO_Send::ACE_FIFO_Send (void)
28 // ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send");
31 int
32 ACE_FIFO_Send::open (const ACE_TCHAR *rendezvous_name,
33 int flags,
34 mode_t perms,
35 LPSECURITY_ATTRIBUTES sa)
37 ACE_TRACE ("ACE_FIFO_Send::open");
38 return ACE_FIFO::open (rendezvous_name,
39 flags | O_WRONLY,
40 perms,
41 sa);
44 ACE_FIFO_Send::ACE_FIFO_Send (const ACE_TCHAR *fifo_name,
45 int flags,
46 mode_t perms,
47 LPSECURITY_ATTRIBUTES sa)
49 ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send");
50 if (this->ACE_FIFO_Send::open (fifo_name,
51 flags,
52 perms,
53 sa) == -1)
54 ACELIB_ERROR ((LM_ERROR,
55 ACE_TEXT ("%p\n"),
56 ACE_TEXT ("ACE_FIFO_Send::ACE_FIFO_Send")));
59 ACE_END_VERSIONED_NAMESPACE_DECL