fix doc example typo
[boost.git] / boost / iostreams / detail / file_handle.hpp
blobd797efb29a02c349ec76409f132cf21424c3cef1
1 /*
2 * Distributed under the Boost Software License, Version 1.0.(See accompanying
3 * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
4 *
5 * See http://www.boost.org/libs/iostreams for documentation.
7 * File: boost/iostreams/detail/file_handle.hpp
8 * Date: Sun Jun 22 14:23:12 MDT 2008
9 * Copyright: 2008 CodeRage, LLC
10 * Author: Jonathan Turkanis
11 * Contact: turkanis at coderage dot com
13 * Defines the type boost::iostreams::detail::file_handle, representing an
14 * operating system file handle.
17 #ifndef BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED
18 #define BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED
20 #include <boost/iostreams/detail/config/windows_posix.hpp>
22 namespace boost { namespace iostreams { namespace detail {
24 #ifdef BOOST_IOSTREAMS_WINDOWS
25 typedef void* file_handle; // A.k.a. HANDLE
26 #else
27 typedef int file_handle;
28 #endif
30 } } } // End namespaces detail, iostreams, boost.
32 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED