5#pragma warning ( disable : 4786 )
111 if ( !
in.isopened() )
113 size_t len =
in.length();
114 s.resize (
len + 1 );
115 if ( !
in.read ( &
s[0],
len ) )
125 if ( !
out.isopened() )
127 out.write (
s.c_str(),
s.size() );
ACPI_SIZE strlen(const char *String)
char * strchr(const char *String, int ch)
char * strpbrk(const char *String, const char *Delimiters)
bool next_line(std::string &line, bool strip_crlf)
static bool SaveFromString(const char *filename, const std::string &s, bool binary)
static bool LoadIntoString(std::string &s, const char *filename)
std::string getline(bool strip_crlf=false)
bool enum_lines(bool(*callback)(const std::string &line, int line_number, long lparam), long lparam, bool strip_crlf)
bool open(const char *filename, const char *mode)
static char * file_stat(DOS_FILE *file)
GLenum GLuint GLenum GLsizei const GLchar * buf
const GLuint GLenum const GLvoid * binary
_Check_return_ _CRTIMP int __cdecl _fileno(_In_ FILE *_File)
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
_Check_return_opt_ _CRTIMP char *__cdecl fgets(_Out_writes_z_(_MaxCount) char *_Buf, _In_ int _MaxCount, _Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
static IPrintDialogCallback callback
_Check_return_ _CRTIMP long __cdecl _filelength(_In_ int _FileHandle)