00001 #include "ace_pch.h"
00002
00003
00004
00005
00006 #include "ace/DEV.h"
00007
00008 #if defined (ACE_LACKS_INLINE_FUNCTIONS)
00009 #include "ace/DEV.i"
00010 #endif
00011
00012 ACE_RCSID(ace, DEV, "$Id: DEV.cpp,v 1.1.1.3.40.1 2003/03/13 19:44:21 chad Exp $")
00013
00014 ACE_ALLOC_HOOK_DEFINE(ACE_DEV)
00015
00016 void
00017 ACE_DEV::dump (void) const
00018 {
00019 ACE_TRACE ("ACE_DEV::dump");
00020 }
00021
00022
00023
00024 ACE_DEV::ACE_DEV (void)
00025 {
00026 ACE_TRACE ("ACE_DEV::ACE_DEV");
00027 }
00028
00029
00030
00031 int
00032 ACE_DEV::close (void)
00033 {
00034 ACE_TRACE ("ACE_DEV::close");
00035 int result = ACE_OS::close (this->get_handle ());
00036 this->set_handle (ACE_INVALID_HANDLE);
00037 return result;
00038 }