mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 00:53:36 +00:00
[CRT]
New implementation of all printf functions. It's stream based (like MS one is) rather than buffer based (like our old is). Floating point is not 100% finished, but current implementation is good enough to boot. It can be enabled by a config switch. svn path=/trunk/; revision=49499
This commit is contained in:
parent
7642321a2c
commit
bf49c46b23
34 changed files with 1281 additions and 1 deletions
|
@ -2814,6 +2814,7 @@ FILE* CDECL tmpfile(void)
|
|||
return file;
|
||||
}
|
||||
|
||||
#ifndef USE_NEW_SPRINTF
|
||||
/*********************************************************************
|
||||
* vfprintf (MSVCRT.@)
|
||||
*/
|
||||
|
@ -2947,6 +2948,7 @@ int CDECL printf(const char *format, ...)
|
|||
va_end(valist);
|
||||
return res;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*********************************************************************
|
||||
* ungetc (MSVCRT.@)
|
||||
|
@ -2984,6 +2986,7 @@ wint_t CDECL ungetwc(wint_t wc, FILE * file)
|
|||
return mwc;
|
||||
}
|
||||
|
||||
#ifndef USE_NEW_SPRINTF
|
||||
/*********************************************************************
|
||||
* wprintf (MSVCRT.@)
|
||||
*/
|
||||
|
@ -2996,6 +2999,7 @@ int CDECL wprintf(const wchar_t *format, ...)
|
|||
va_end(valist);
|
||||
return res;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*********************************************************************
|
||||
* _getmaxstdio (MSVCRT.@)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue