fstream_impl.h

00001 /*
00002  * Copyright (c) 1999
00003  * Silicon Graphics Computer Systems, Inc.
00004  *
00005  * Copyright (c) 1999 
00006  * Boris Fomitchev
00007  *
00008  * This material is provided "as is", with absolutely no warranty expressed
00009  * or implied. Any use is at your own risk.
00010  *
00011  * Permission to use or copy this software for any purpose is hereby granted 
00012  * without fee, provided the above notices are retained on all copies.
00013  * Permission to modify the code and to distribute modified code is granted,
00014  * provided the above notices are retained, and a notice that the code was
00015  * modified is included with the above copyright notice.
00016  *
00017  */ 
00018 
00019 #ifndef FSTREAM_IMPL_H
00020 # define FSTREAM_IMPL_H
00021 
00022 #include <stl/_stdio_file.h>
00023 
00024 # ifdef _STLP_HAS_NO_NAMESPACES
00025 #  define __SGI_BEGIN_NAMESPACE
00026 #  define __SGI_END_NAMESPACE
00027 #  define _SgI
00028 # else
00029 #  define __SGI_BEGIN_NAMESPACE namespace _SgI {
00030 #  define __SGI_END_NAMESPACE }
00031 # endif
00032 
00033 __SGI_BEGIN_NAMESPACE
00034 
00035 # ifndef _STLP_HAS_NO_NAMESPACES
00036 using _STLP_STD::streamoff;
00037 using _STLP_STD::ios_base;
00038 using _STLP_STD::streamsize;
00039 using _STLP_STD::streamoff;
00040 using _STLP_STD::char_traits;
00041 # ifndef _STLP_USE_UNIX_IO
00042 using _STLP_VENDOR_CSTD::FILE;
00043 using _STLP_VENDOR_CSTD::ftell;
00044 # endif
00045 
00046 using _STLP_STD::_FILE_fd;
00047 # endif
00048 
00049 extern bool __is_regular_file(_STLP_fd fd);
00050 extern streamoff __file_size(_STLP_fd fd);
00051 
00052 __SGI_END_NAMESPACE
00053 
00054 #endif /* FSTREAM_IMPL_H */

Generated on Mon Jun 5 10:20:45 2006 for Intelligence.kdevelop by  doxygen 1.4.6