[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / FIFO.inl
blob05cc030a9178e9c0c8700c41a94820280e46c14b
1 // -*- C++ -*-
2 //
3 // $Id: FIFO.inl 80826 2008-03-04 14:51:23Z wotte $
5 #include "ace/OS_NS_unistd.h"
7 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
9 ACE_INLINE int
10 ACE_FIFO::get_local_addr (const ACE_TCHAR *&r) const
12   ACE_TRACE ("ACE_FIFO::get_local_addr");
13   r = this->rendezvous_;
14   return 0;
17 ACE_INLINE int
18 ACE_FIFO::remove (void)
20   ACE_TRACE ("ACE_FIFO::remove");
21   int const result = this->close ();
22   return ACE_OS::unlink (this->rendezvous_) == -1 || result == -1 ? -1 : 0;
25 ACE_END_VERSIONED_NAMESPACE_DECL