Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:50

0001 /*
0002  * Distributed under the Boost Software License, Version 1.0.(See accompanying 
0003  * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
0004  * 
0005  * See http://www.boost.org/libs/iostreams for documentation.
0006  *
0007  * File:        boost/iostreams/detail/file_handle.hpp
0008  * Date:        Sun Jun 22 14:23:12 MDT 2008
0009  * Copyright:   2008 CodeRage, LLC
0010  * Author:      Jonathan Turkanis
0011  * Contact:     turkanis at coderage dot com
0012  *
0013  * Defines the type boost::iostreams::detail::file_handle, representing an
0014  * operating system file handle.
0015  */
0016 
0017 #ifndef BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED
0018 #define BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED
0019 
0020 #include <boost/iostreams/detail/config/windows_posix.hpp>
0021 
0022 namespace boost { namespace iostreams { namespace detail {
0023 
0024 #ifdef BOOST_IOSTREAMS_WINDOWS
0025     typedef void*  file_handle;  // A.k.a. HANDLE
0026 #else
0027     typedef int    file_handle;
0028 #endif
0029 
0030 } } } // End namespaces detail, iostreams, boost.
0031 
0032 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED