3 #include "ace/OS_NS_unistd.h"
5 #if defined (ACE_HAS_ALLOC_HOOKS)
6 # include "ace/Malloc_Base.h"
7 #endif /* ACE_HAS_ALLOC_HOOKS */
9 #if !defined (__ACE_INLINE__)
10 #include "ace/DEV.inl"
11 #endif /* __ACE_INLINE__ */
13 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
15 ACE_ALLOC_HOOK_DEFINE(ACE_DEV
)
18 ACE_DEV::dump () const
20 #if defined (ACE_HAS_DUMP)
21 ACE_TRACE ("ACE_DEV::dump");
22 #endif /* ACE_HAS_DUMP */
25 // This is the do-nothing constructor.
29 ACE_TRACE ("ACE_DEV::ACE_DEV");
37 ACE_TRACE ("ACE_DEV::close");
38 int result
= ACE_OS::close (this->get_handle ());
39 this->set_handle (ACE_INVALID_HANDLE
);
43 ACE_END_VERSIONED_NAMESPACE_DECL