sl@0: /* sl@0: * Copyright (c) 1999 sl@0: * Silicon Graphics Computer Systems, Inc. sl@0: * sl@0: * Copyright (c) 1999 sl@0: * Boris Fomitchev sl@0: * sl@0: * This material is provided "as is", with absolutely no warranty expressed sl@0: * or implied. Any use is at your own risk. sl@0: * sl@0: * Permission to use or copy this software for any purpose is hereby granted sl@0: * without fee, provided the above notices are retained on all copies. sl@0: * Permission to modify the code and to distribute modified code is granted, sl@0: * provided the above notices are retained, and a notice that the code was sl@0: * modified is included with the above copyright notice. sl@0: * sl@0: */ sl@0: sl@0: #ifndef FSTREAM_IMPL_H sl@0: # define FSTREAM_IMPL_H sl@0: sl@0: #include sl@0: sl@0: # ifdef _STLP_HAS_NO_NAMESPACES sl@0: # define __SGI_BEGIN_NAMESPACE sl@0: # define __SGI_END_NAMESPACE sl@0: # define _SgI sl@0: # else sl@0: # define __SGI_BEGIN_NAMESPACE namespace _SgI { sl@0: # define __SGI_END_NAMESPACE } sl@0: # endif sl@0: sl@0: __SGI_BEGIN_NAMESPACE sl@0: sl@0: # ifndef _STLP_HAS_NO_NAMESPACES sl@0: using _STLP_STD::streamoff; sl@0: using _STLP_STD::ios_base; sl@0: using _STLP_STD::streamsize; sl@0: using _STLP_STD::streamoff; sl@0: using _STLP_STD::char_traits; sl@0: # ifndef _STLP_USE_UNIX_IO sl@0: using _STLP_VENDOR_CSTD::FILE; sl@0: using _STLP_VENDOR_CSTD::ftell; sl@0: # endif sl@0: sl@0: using _STLP_STD::_FILE_fd; sl@0: # endif sl@0: sl@0: extern bool __is_regular_file(_STLP_fd fd); sl@0: extern streamoff __file_size(_STLP_fd fd); sl@0: sl@0: __SGI_END_NAMESPACE sl@0: sl@0: #endif /* FSTREAM_IMPL_H */