diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-16 18:08:42 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-16 18:08:42 +0000 |
commit | b72b975a5b41db37c0b0623d67bffcb3b73ad8d9 (patch) | |
tree | 42dccf16493cb396765de9b5c94bf3a8dcfdcc09 /ace/ACE.i | |
parent | 2f79ae52927a5b99fd9c37d1bdff545fdbb08635 (diff) | |
download | ATCD-b72b975a5b41db37c0b0623d67bffcb3b73ad8d9.tar.gz |
(read_n,send_n,write_n): moved from ACE to ACE_OS, so that the uses in OS.cpp could be localized
Diffstat (limited to 'ace/ACE.i')
-rw-r--r-- | ace/ACE.i | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ace/ACE.i b/ace/ACE.i index 5b006529771..03a43c35cd2 100644 --- a/ace/ACE.i +++ b/ace/ACE.i @@ -1,6 +1,33 @@ /* -*- C++ -*- */ // $Id$ +// Wrappers for methods that have been moved to ACE_OS. + +ASYS_INLINE ssize_t +ACE::read_n (ACE_HANDLE handle, + void *buf, + size_t len) +{ + ACE_TRACE ("ACE::read_n"); + return ACE_OS::read_n (handle, buf, len); +} + +ASYS_INLINE ssize_t +ACE::send_n (ACE_HANDLE handle, const void *buf, size_t len) +{ + ACE_TRACE ("ACE::send_n"); + return ACE_OS::send_n (handle, buf, len); +} + +ASYS_INLINE ssize_t +ACE::write_n (ACE_HANDLE handle, + const void *buf, + size_t len) +{ + ACE_TRACE ("ACE::write_n"); + return ACE_OS::write_n (handle, buf, len); +} + // Miscellaneous static methods used throughout ACE. ASYS_INLINE ssize_t |