1169691Skan// Underlying io library details -*- C++ -*-
297403Sobrien
3169691Skan// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006
4169691Skan// Free Software Foundation, Inc.
597403Sobrien//
697403Sobrien// This file is part of the GNU ISO C++ Library.  This library is free
797403Sobrien// software; you can redistribute it and/or modify it under the
897403Sobrien// terms of the GNU General Public License as published by the
997403Sobrien// Free Software Foundation; either version 2, or (at your option)
1097403Sobrien// any later version.
1197403Sobrien
1297403Sobrien// This library is distributed in the hope that it will be useful,
1397403Sobrien// but WITHOUT ANY WARRANTY; without even the implied warranty of
1497403Sobrien// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1597403Sobrien// GNU General Public License for more details.
1697403Sobrien
1797403Sobrien// You should have received a copy of the GNU General Public License along
1897403Sobrien// with this library; see the file COPYING.  If not, write to the Free
19169691Skan// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
2097403Sobrien// USA.
2197403Sobrien
2297403Sobrien// As a special exception, you may use this file as part of a free software
2397403Sobrien// library without restriction.  Specifically, if other files instantiate
2497403Sobrien// templates or use macros or inline functions from this file, or you compile
2597403Sobrien// this file and link it with other files to produce an executable, this
2697403Sobrien// file does not by itself cause the resulting executable to be covered by
2797403Sobrien// the GNU General Public License.  This exception does not however
2897403Sobrien// invalidate any other reasons why the executable file might be covered by
2997403Sobrien// the GNU General Public License.
3097403Sobrien
31169691Skan/** @file c++io.h
32169691Skan *  This is an internal header file, included by other library headers.
33169691Skan *  You should not attempt to use it directly.
34169691Skan */
35169691Skan
3697403Sobrien// c_io_stdio.h - Defines for using "C" stdio.h
3797403Sobrien
38132720Skan#ifndef _C_IO_STDIO_H
39132720Skan#define _C_IO_STDIO_H 1
4097403Sobrien
4197403Sobrien#include <cstdio>
4297403Sobrien#include <cstddef>
4397403Sobrien#include <bits/gthr.h>
4497403Sobrien
45169691Skan_GLIBCXX_BEGIN_NAMESPACE(std)
46169691Skan
4797403Sobrien  typedef __gthread_mutex_t __c_lock;
4897403Sobrien
49132720Skan  // for basic_file.h
5097403Sobrien  typedef FILE __c_file;
5197403Sobrien
52169691Skan_GLIBCXX_END_NAMESPACE
5397403Sobrien
54132720Skan#endif
55