summaryrefslogtreecommitdiff
path: root/ace/FILE.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-01-24 22:39:08 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-01-24 22:39:08 +0000
commitb45d0e89f2875bd08af5049643e47292b65c6cc7 (patch)
tree8bd1b7706e8cdb12398c05643d045e9f2ce8a5eb /ace/FILE.cpp
parent6e9f005880aeca09770b8922380eae6144b62116 (diff)
downloadATCD-b45d0e89f2875bd08af5049643e47292b65c6cc7.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.cpp16
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");