mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
This commit is contained in:
parent
d767495d5b
commit
800ee76535
3322 changed files with 903437 additions and 0 deletions
43
dep/ACE_wrappers/ace/DEV.cpp
Normal file
43
dep/ACE_wrappers/ace/DEV.cpp
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
// $Id: DEV.cpp 80826 2008-03-04 14:51:23Z wotte $
|
||||
|
||||
#include "ace/DEV.h"
|
||||
|
||||
#include "ace/OS_NS_unistd.h"
|
||||
|
||||
#if !defined (__ACE_INLINE__)
|
||||
#include "ace/DEV.inl"
|
||||
#endif /* __ACE_INLINE__ */
|
||||
|
||||
ACE_RCSID(ace, DEV, "$Id: DEV.cpp 80826 2008-03-04 14:51:23Z wotte $")
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
ACE_ALLOC_HOOK_DEFINE(ACE_DEV)
|
||||
|
||||
void
|
||||
ACE_DEV::dump (void) const
|
||||
{
|
||||
#if defined (ACE_HAS_DUMP)
|
||||
ACE_TRACE ("ACE_DEV::dump");
|
||||
#endif /* ACE_HAS_DUMP */
|
||||
}
|
||||
|
||||
// This is the do-nothing constructor.
|
||||
|
||||
ACE_DEV::ACE_DEV (void)
|
||||
{
|
||||
ACE_TRACE ("ACE_DEV::ACE_DEV");
|
||||
}
|
||||
|
||||
// Close the device
|
||||
|
||||
int
|
||||
ACE_DEV::close (void)
|
||||
{
|
||||
ACE_TRACE ("ACE_DEV::close");
|
||||
int result = ACE_OS::close (this->get_handle ());
|
||||
this->set_handle (ACE_INVALID_HANDLE);
|
||||
return result;
|
||||
}
|
||||
|
||||
ACE_END_VERSIONED_NAMESPACE_DECL
|
||||
Loading…
Add table
Add a link
Reference in a new issue