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 44 # define FPOS_T fpos_t 46 # define FSEEK fseeko64 47 # define FSETPOS fsetpos64 48 # define FGETPOS fgetpos64 49 # define FPOS_T fpos64_t 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) );
208 if (unwritten != 0) {
211 if (this->
pptr() - this->
pbase() < unwritten)
static int_type _STLP_CALL eof()
char_traits< char > ::int_type int_type
char_type * eback() const
static int_type _STLP_CALL not_eof(const int_type &__c)
pos_type seekoff(off_type, ios_base::seekdir, ios_base::openmode=ios_base::in|ios_base::out)
_Check_return_opt_ _CRTIMP int __cdecl fputc(_In_ int _Ch, _Inout_ FILE *_File)
#define __STATIC_CAST(__x, __y)
_Check_return_ _CRTIMP int __cdecl getc(_Inout_ FILE *_File)
char_type * pbase() const
#define _STLP_MOVE_TO_PRIV_NAMESPACE
char_traits< char > ::pos_type pos_type
pos_type seekpos(pos_type, ios_base::openmode=ios_base::in|ios_base::out)
streambuf * setbuf(char *, streamsize)
_Check_return_opt_ _CRTIMP_ALT int __cdecl ungetc(_In_ int _Ch, _Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl putc(_In_ int _Ch, _Inout_ FILE *_File)
#define _STLP_MOVE_TO_STD_NAMESPACE
int_type overflow(int_type c=traits_type::eof())
virtual int_type pbackfail(int_type c=traits_type::eof())
_Check_return_opt_ _CRTIMP int __cdecl fflush(_Inout_opt_ FILE *_File)
#define _STLP_END_NAMESPACE
__kernel_ptrdiff_t ptrdiff_t
basic_streambuf< char, char_traits< char > > streambuf
_Check_return_opt_ _CRTIMP int __cdecl setvbuf(_Inout_ FILE *_File, _Inout_updates_opt_z_(_Size) char *_Buf, _In_ int _Mode, _In_ size_t _Size)
#define _STLP_BEGIN_NAMESPACE
char_traits< char > ::off_type off_type
stdio_streambuf_base(FILE *)
_Check_return_opt_ _CRTIMP int __cdecl fgetc(_Inout_ FILE *_File)