.TH "__gnu_cxx::stdio_sync_filebuf< _CharT, _Traits >" 3cxx "Fri Dec 19 2014" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_cxx::stdio_sync_filebuf< _CharT, _Traits > \- .SH SYNOPSIS .br .PP .PP Inherits basic_streambuf< _CharT, _Traits >\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef _CharT \fBchar_type\fP" .br .ti -1c .RI "typedef traits_type::int_type \fBint_type\fP" .br .ti -1c .RI "typedef traits_type::off_type \fBoff_type\fP" .br .ti -1c .RI "typedef traits_type::pos_type \fBpos_type\fP" .br .ti -1c .RI "typedef _Traits \fBtraits_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBstdio_sync_filebuf\fP (std::__c_file *__f)" .br .ti -1c .RI "std::__c_file *const \fBfile\fP ()" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "virtual int_type \fBoverflow\fP (int_type __c=traits_type::eof())" .br .ti -1c .RI "virtual int_type \fBpbackfail\fP (int_type __c=traits_type::eof())" .br .ti -1c .RI "virtual \fBstd::streampos\fP \fBseekoff\fP (\fBstd::streamoff\fP __off, \fBstd::ios_base::seekdir\fP __dir, \fBstd::ios_base::openmode\fP=\fBstd::ios_base::in\fP|\fBstd::ios_base::out\fP)" .br .ti -1c .RI "virtual \fBstd::streampos\fP \fBseekpos\fP (\fBstd::streampos\fP __pos, \fBstd::ios_base::openmode\fP __mode=\fBstd::ios_base::in\fP|\fBstd::ios_base::out\fP)" .br .ti -1c .RI "virtual int \fBsync\fP ()" .br .ti -1c .RI "int_type \fBsyncgetc\fP ()" .br .ti -1c .RI "template<> \fBstdio_sync_filebuf\fP< char > .br ::int_type \fBsyncgetc\fP ()" .br .ti -1c .RI "template<> \fBstdio_sync_filebuf\fP< wchar_t > .br ::int_type \fBsyncgetc\fP ()" .br .ti -1c .RI "int_type \fBsyncputc\fP (int_type __c)" .br .ti -1c .RI "template<> \fBstdio_sync_filebuf\fP< char > .br ::int_type \fBsyncputc\fP (int_type __c)" .br .ti -1c .RI "template<> \fBstdio_sync_filebuf\fP< wchar_t > .br ::int_type \fBsyncputc\fP (int_type __c)" .br .ti -1c .RI "int_type \fBsyncungetc\fP (int_type __c)" .br .ti -1c .RI "template<> \fBstdio_sync_filebuf\fP< char > .br ::int_type \fBsyncungetc\fP (int_type __c)" .br .ti -1c .RI "template<> \fBstdio_sync_filebuf\fP< wchar_t > .br ::int_type \fBsyncungetc\fP (int_type __c)" .br .ti -1c .RI "virtual int_type \fBuflow\fP ()" .br .ti -1c .RI "virtual int_type \fBunderflow\fP ()" .br .ti -1c .RI "virtual \fBstd::streamsize\fP \fBxsgetn\fP (char_type *__s, \fBstd::streamsize\fP __n)" .br .ti -1c .RI "template<> \fBstd::streamsize\fP \fBxsgetn\fP (char *__s, \fBstd::streamsize\fP __n)" .br .ti -1c .RI "template<> \fBstd::streamsize\fP \fBxsgetn\fP (wchar_t *__s, \fBstd::streamsize\fP __n)" .br .ti -1c .RI "virtual \fBstd::streamsize\fP \fBxsputn\fP (const char_type *__s, \fBstd::streamsize\fP __n)" .br .ti -1c .RI "template<> \fBstd::streamsize\fP \fBxsputn\fP (const char *__s, \fBstd::streamsize\fP __n)" .br .ti -1c .RI "template<> \fBstd::streamsize\fP \fBxsputn\fP (const wchar_t *__s, \fBstd::streamsize\fP __n)" .br .in -1c .SH "Detailed Description" .PP .SS "template>class __gnu_cxx::stdio_sync_filebuf< _CharT, _Traits >" Provides a layer of compatibility for C\&. .PP 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\&. .PP Definition at line 56 of file stdio_sync_filebuf\&.h\&. .SH "Member Function Documentation" .PP .SS "template> std::__c_file* const \fB__gnu_cxx::stdio_sync_filebuf\fP< _CharT, _Traits >::file ()\fC [inline]\fP" .PP \fBReturns:\fP .RS 4 The underlying FILE*\&. .RE .PP 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\&. .PP Definition at line 88 of file stdio_sync_filebuf\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.