diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-03-25 23:30:19 +0300 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2004-03-25 23:30:19 +0300 |
commit | 4c42aaf27782c36491d60956d58d05a5edafc84e (patch) | |
tree | fff04f5ba69bd4feb0cd42fbf8a51d1ace7f38ae /winsup/mingw | |
parent | 34307d9656668a26ab9ba4c20aae53081ee78b75 (diff) |
* include/stdio.h (_fsopen): Add prototype.
* include/tchar.h (_tfsopen): Add defines.
Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
Diffstat (limited to 'winsup/mingw')
-rw-r--r-- | winsup/mingw/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/mingw/include/stdio.h | 1 | ||||
-rw-r--r-- | winsup/mingw/include/tchar.h | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index c166950c4..01419435d 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,9 @@ +2004-03-25 Danny Smith <dannysmith@users.sourceforge.net> + + * include/stdio.h (_fsopen): Add prototype. + * include/tchar.h (_tfsopen): Add defines. + Thanks to "Gerik" <gerikr at users dot sourceforge dot net> + 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net> * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10), diff --git a/winsup/mingw/include/stdio.h b/winsup/mingw/include/stdio.h index 84b3b1087..b7225afe8 100644 --- a/winsup/mingw/include/stdio.h +++ b/winsup/mingw/include/stdio.h @@ -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); diff --git a/winsup/mingw/include/tchar.h b/winsup/mingw/include/tchar.h index edbf6211e..d2a6665a4 100644 --- a/winsup/mingw/include/tchar.h +++ b/winsup/mingw/include/tchar.h @@ -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 |