diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-01-24 22:39:08 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-01-24 22:39:08 +0000 |
commit | 280f66affd6f9e179c6e526f835a8a60aea56d39 (patch) | |
tree | 8bd1b7706e8cdb12398c05643d045e9f2ce8a5eb /ace/FILE.cpp | |
parent | 5f34d71879877d2921733e613940f82918b69f68 (diff) | |
download | ATCD-280f66affd6f9e179c6e526f835a8a60aea56d39.tar.gz |
ChangeLogTag:Wed Jan 24 14:44:12 2001 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/FILE.cpp')
-rw-r--r-- | ace/FILE.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ace/FILE.cpp b/ace/FILE.cpp index a3d6d5a5e52..e6e5445f6a8 100644 --- a/ace/FILE.cpp +++ b/ace/FILE.cpp @@ -2,7 +2,7 @@ // $Id$ /* Defines the member functions for the base class of the ACE_IO_SAP - ACE_FILE abstraction. */ + ACE_FILE abstraction. */ #include "ace/FILE.h" @@ -21,7 +21,7 @@ ACE_FILE::dump (void) const ACE_IO_SAP::dump (); } -// This is the do-nothing constructor. +// This is the do-nothing constructor. ACE_FILE::ACE_FILE (void) { @@ -43,9 +43,9 @@ int ACE_FILE::get_info (ACE_FILE_Info *finfo) { ACE_TRACE ("ACE_FILE::get_info"); - struct stat filestatus; + ACE_stat filestatus; - int result = ACE_OS::fstat (this->get_handle (), + int result = ACE_OS::fstat (this->get_handle (), &filestatus); if (result == 0) @@ -93,18 +93,18 @@ ACE_FILE::tell (void) { ACE_TRACE ("ACE_FILE::position"); return ACE_OS::lseek (this->get_handle (), 0, SEEK_CUR); -} +} off_t ACE_FILE::position (void) { ACE_TRACE ("ACE_FILE::position"); return this->tell (); -} +} // Return the local endpoint address. -int +int ACE_FILE::get_local_addr (ACE_Addr &addr) const { ACE_TRACE ("ACE_FILE::get_local_addr"); @@ -125,7 +125,7 @@ ACE_FILE::get_local_addr (ACE_Addr &addr) const // Return the same result as <get_local_addr>. -int +int ACE_FILE::get_remote_addr (ACE_Addr &addr) const { ACE_TRACE ("ACE_FILE::get_remote_addr"); |