implement wprintf family of functions

this implementation is extremely ugly and inefficient, but it avoids a
good deal of code duplication and bloat. it may be cleaned up later to
eliminate the remaining code duplication and some of the warts, but i
don't really care about its performance.

note that swprintf is not yet implemented.
This commit is contained in:
Rich Felker
2011-03-17 22:55:43 -04:00
parent a012aa879f
commit c35bb6645f
4 changed files with 387 additions and 0 deletions

7
src/stdio/vwprintf.c Normal file
View File

@ -0,0 +1,7 @@
#include <stdio.h>
#include <wchar.h>
int vwprintf(const wchar_t *fmt, va_list ap)
{
return vfwprintf(stdout, fmt, ap);
}