Files
azerothcore-wotlk/deps/acelite/ace/FIFO.inl
Yehonal f06f32849f Directory Structure [step 1]: moving files
working on #672

NOTE: This commit can't be compiled!!
2017-10-12 20:00:52 +02:00

23 lines
458 B
C++

// -*- C++ -*-
#include "ace/OS_NS_unistd.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE int
ACE_FIFO::get_local_addr (const ACE_TCHAR *&r) const
{
ACE_TRACE ("ACE_FIFO::get_local_addr");
r = this->rendezvous_;
return 0;
}
ACE_INLINE int
ACE_FIFO::remove (void)
{
ACE_TRACE ("ACE_FIFO::remove");
int const result = this->close ();
return ACE_OS::unlink (this->rendezvous_) == -1 || result == -1 ? -1 : 0;
}
ACE_END_VERSIONED_NAMESPACE_DECL