X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=include%2Fmsvcrt%2Fstdio.h;h=52646ae5ecfd5774099ffc39544cdf8d9e3c4369;hb=a3df8bf1429570e0bd6c6428f6ed80073578cf4b;hp=e2fdff2355dcd593820c51daaedb65ffeea2780d;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605;p=reactos.git diff --git a/include/msvcrt/stdio.h b/include/msvcrt/stdio.h index e2fdff2..52646ae 100644 --- a/include/msvcrt/stdio.h +++ b/include/msvcrt/stdio.h @@ -73,10 +73,12 @@ extern "C" { * functions later on in the file which use va_list. That conflicts with * using stdio.h and varargs.h in the same file, so I do the typedef myself. */ -//#ifndef _VA_LIST -//#define _VA_LIST -//typedef char* va_list; -//#endif +/* + *#ifndef _VA_LIST + *#define _VA_LIST + *typedef char* va_list; + *#endif + */ #include /* @@ -262,8 +264,8 @@ wint_t fgetwc(FILE* fileRead); wint_t fputwc(wchar_t wc, FILE* fileWrite); wint_t getwc(FILE *fileRead); // not exported from crtdll -// TODO: check type wint_t, why doesn't compare to WEOF correctly ??? -//wint_t putwc(wint_t wc, FILE* fileWrite); +/* TODO: check type wint_t, why doesn't compare to WEOF correctly ??? */ +/* wint_t putwc(wint_t wc, FILE* fileWrite); */ int putwc(wint_t wc, FILE* fileWrite); wint_t putwchar(wint_t c); @@ -344,7 +346,7 @@ void _wperror(const wchar_t *s); #define clearerr(f) (((f)->_flag) &= ~(_IOERR|_IOEOF)) #define feof(f) (((f)->_flag&_IOEOF)!=0) -//#define ferror(f) (((f)->_flag&_IOERR)!=0) +/* #define ferror(f) (((f)->_flag&_IOERR)!=0) */ int ferror(FILE* fileIsError); #define perror(s) (fprintf(stderr, "%s: %s\n", (s), _strerror(NULL)))