* include/stdio.h (_fsopen): Add prototype.
* include/tchar.h (_tfsopen): Add defines. Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
This commit is contained in:
@@ -390,6 +390,7 @@ _CRTIMP int __cdecl _fputchar (int);
|
||||
_CRTIMP FILE* __cdecl _fdopen (int, const char*);
|
||||
_CRTIMP int __cdecl _fileno (FILE*);
|
||||
_CRTIMP int __cdecl _fcloseall(void);
|
||||
_CRTIMP FILE* __cdecl _fsopen(const char*, const char*, int);
|
||||
#ifdef __MSVCRT__
|
||||
_CRTIMP int __cdecl _getmaxstdio(void);
|
||||
_CRTIMP int __cdecl _setmaxstdio(int);
|
||||
|
@@ -190,6 +190,7 @@ typedef wchar_t _TCHAR;
|
||||
#define _tfindnext _wfindnext
|
||||
#define _tfdopen _wfdopen
|
||||
#define _tfopen _wfopen
|
||||
#define _tfsopen _wfsopen
|
||||
#define _tgetenv _wgetenv
|
||||
#define _tputenv _wputenv
|
||||
#define _tsearchenv _wsearchenv
|
||||
@@ -274,6 +275,7 @@ typedef char _TCHAR;
|
||||
#define _fputts fputs
|
||||
#define _tfdopen _fdopen
|
||||
#define _tfopen fopen
|
||||
#define _tfsopen _fsopen
|
||||
#define _tgetenv getenv
|
||||
#define _tputenv _putenv
|
||||
#define _tsearchenv _searchenv
|
||||
|
Reference in New Issue
Block a user