35#if defined (_STLP_USE_DEFAULT_FILE_OFFSET) || \
36 (!defined(_LARGEFILE_SOURCE) && !defined(_LARGEFILE64_SOURCE))
37# if !defined (_STLP_MSVC) || (_STLP_MSVC < 1400) || defined(_STLP_WCE) || defined(__REACTOS__)
40# define FSEEK _fseeki64
42# define FSETPOS fsetpos
43# define FGETPOS fgetpos
46# define FSEEK fseeko64
47# define FSETPOS fsetpos64
48# define FGETPOS fgetpos64
49# define FPOS_T fpos64_t
61 _STLP_VENDOR_CSTD::fflush(
_M_file);
98#if (defined (__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 2))))
100#elif defined (__ISCPP__) || defined (__MVS__) || defined (__OS400__)
102#elif defined (__EMX__)
117#if (defined(__GLIBC__) && ( (__GLIBC__ > 2) || ( (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 2) ) ) )
120# ifdef _STLP_USE_UCLIBC
121# ifdef __STDIO_MBSTATE
122 memset( &(
p.__mbstate), 0,
sizeof(
p.__mbstate) );
128 memset( &(
p.__state), 0,
sizeof(
p.__state) );
130#elif defined (__MVS__) || defined (__OS400__)
132 p.__fpos_elem[0] =
pos;
133#elif defined (__EMX__)
136 memset( &(
p._mbstate), 0,
sizeof(
p._mbstate) );
145 return _STLP_VENDOR_CSTD::fflush(
_M_file) == 0 ? 0 : -1;
164 _STLP_VENDOR_CSTD::ungetc(
c,
_M_file);
208 if (unwritten != 0) {
209 _STLP_VENDOR_CSTD::fflush(
_M_file);
211 if (this->
pptr() - this->
pbase() < unwritten)
static int_type _STLP_CALL not_eof(const int_type &__c)
static int_type _STLP_CALL eof()
char_type * pbase() const
_Traits::off_type off_type
_Traits::pos_type pos_type
char_type * eback() const
_Traits::int_type int_type
virtual int_type pbackfail(int_type c=traits_type::eof())
int_type overflow(int_type c=traits_type::eof())
streambuf * setbuf(char *, streamsize)
pos_type seekpos(pos_type, ios_base::openmode=ios_base::in|ios_base::out)
stdio_streambuf_base(FILE *)
pos_type seekoff(off_type, ios_base::seekdir, ios_base::openmode=ios_base::in|ios_base::out)
__kernel_ptrdiff_t ptrdiff_t
#define _STLP_MOVE_TO_STD_NAMESPACE
#define __STATIC_CAST(__x, __y)
#define _STLP_BEGIN_NAMESPACE
#define _STLP_END_NAMESPACE
#define _STLP_MOVE_TO_PRIV_NAMESPACE
_Check_return_opt_ _CRTIMP int __cdecl fgetc(_Inout_ FILE *_File)
_Check_return_ _CRTIMP int __cdecl getc(_Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl putc(_In_ int _Ch, _Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fputc(_In_ int _Ch, _Inout_ FILE *_File)