From b45d0e89f2875bd08af5049643e47292b65c6cc7 Mon Sep 17 00:00:00 2001 From: nanbor Date: Wed, 24 Jan 2001 22:39:08 +0000 Subject: ChangeLogTag:Wed Jan 24 14:44:12 2001 Nanbor Wang --- ace/FILE.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ace/FILE.cpp') 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 . -int +int ACE_FILE::get_remote_addr (ACE_Addr &addr) const { ACE_TRACE ("ACE_FILE::get_remote_addr"); -- cgit v1.2.1