X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libstdc%2B%2B-v3%2Finclude%2Fext%2Fstdio_sync_filebuf.h;h=84a8c26f18dddeb9aba7ecac4635c5c2b725535b;hp=9407e96e16448e3239f096e488611cecd90a01ce;hb=add484259260a8422235e803190e81c59d661b92;hpb=6bc9506f51c864af73250f5e6c99da261bd98b11 diff --git a/libstdc++-v3/include/ext/stdio_sync_filebuf.h b/libstdc++-v3/include/ext/stdio_sync_filebuf.h index 9407e96e164..84a8c26f18d 100644 --- a/libstdc++-v3/include/ext/stdio_sync_filebuf.h +++ b/libstdc++-v3/include/ext/stdio_sync_filebuf.h @@ -1,6 +1,7 @@ // Iostreams wrapper for stdio FILE* -*- C++ -*- -// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -42,7 +43,14 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) - /// class stdio_sync_filebuf. + /** + * @brief Provides a layer of compatibility for C. + * @ingroup io + * + * This GNU extension provides extensions for working with standard + * C FILE*'s. It must be instantiated by the user with the type of + * character used in the file stream, e.g., stdio_filebuf. + */ template > class stdio_sync_filebuf : public std::basic_streambuf<_CharT, _Traits> { @@ -71,7 +79,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) /** * @return The underlying FILE*. * - * This function can be used to access the underlying "C" file pointer. + * This function can be used to access the underlying C file pointer. * Note that there is no way for the library to track what you do * with the file, so be careful. */