diff --git a/dlls/msvcr100/msvcr100.spec b/dlls/msvcr100/msvcr100.spec index 1c8dc12ff7..2600fc0aa6 100644 --- a/dlls/msvcr100/msvcr100.spec +++ b/dlls/msvcr100/msvcr100.spec @@ -1621,12 +1621,12 @@ @ cdecl vfwprintf(ptr wstr ptr) msvcrt.vfwprintf @ cdecl vfwprintf_s(ptr wstr ptr) msvcrt.vfwprintf_s @ cdecl vprintf(str ptr) msvcrt.vprintf -@ stub vprintf_s +@ cdecl vprintf_s(str ptr) msvcrt.vprintf_s @ cdecl vsprintf(ptr str ptr) msvcrt.vsprintf @ cdecl vsprintf_s(ptr long str ptr) msvcrt.vsprintf_s @ cdecl vswprintf_s(ptr long wstr ptr) msvcrt.vswprintf_s @ cdecl vwprintf(wstr ptr) msvcrt.vwprintf -@ stub vwprintf_s +@ cdecl vwprintf_s(wstr ptr) msvcrt.vwprintf_s @ stub wcrtomb @ stub wcrtomb_s @ cdecl wcscat(wstr wstr) msvcrt.wcscat diff --git a/dlls/msvcr80/msvcr80.spec b/dlls/msvcr80/msvcr80.spec index 3bee113f05..98232732a7 100644 --- a/dlls/msvcr80/msvcr80.spec +++ b/dlls/msvcr80/msvcr80.spec @@ -1475,12 +1475,12 @@ @ cdecl vfwprintf(ptr wstr ptr) msvcrt.vfwprintf @ cdecl vfwprintf_s(ptr wstr ptr) msvcrt.vfwprintf_s @ cdecl vprintf(str ptr) msvcrt.vprintf -@ stub vprintf_s +@ cdecl vprintf_s(str ptr) msvcrt.vprintf_s @ cdecl vsprintf(ptr str ptr) msvcrt.vsprintf @ cdecl vsprintf_s(ptr long str ptr) msvcrt.vsprintf_s @ cdecl vswprintf_s(ptr long wstr ptr) msvcrt.vswprintf_s @ cdecl vwprintf(wstr ptr) msvcrt.vwprintf -@ stub vwprintf_s +@ cdecl vwprintf_s(wstr ptr) msvcrt.vwprintf_s @ stub wcrtomb @ stub wcrtomb_s @ cdecl wcscat(wstr wstr) msvcrt.wcscat diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec index 536db4706f..4f6872483a 100644 --- a/dlls/msvcr90/msvcr90.spec +++ b/dlls/msvcr90/msvcr90.spec @@ -1459,12 +1459,12 @@ @ cdecl vfwprintf(ptr wstr ptr) msvcrt.vfwprintf @ cdecl vfwprintf_s(ptr wstr ptr) msvcrt.vfwprintf_s @ cdecl vprintf(str ptr) msvcrt.vprintf -@ stub vprintf_s +@ cdecl vprintf_s(str ptr) msvcrt.vprintf_s @ cdecl vsprintf(ptr str ptr) msvcrt.vsprintf @ cdecl vsprintf_s(ptr long str ptr) msvcrt.vsprintf_s @ cdecl vswprintf_s(ptr long wstr ptr) msvcrt.vswprintf_s @ cdecl vwprintf(wstr ptr) msvcrt.vwprintf -@ stub vwprintf_s +@ cdecl vwprintf_s(wstr ptr) msvcrt.vwprintf_s @ stub wcrtomb @ stub wcrtomb_s @ cdecl wcscat(wstr wstr) msvcrt.wcscat diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c index 0c60bdc0e0..b8f4338040 100644 --- a/dlls/msvcrt/file.c +++ b/dlls/msvcrt/file.c @@ -3462,6 +3462,14 @@ int CDECL MSVCRT_vprintf(const char *format, __ms_va_list valist) return MSVCRT_vfprintf(MSVCRT_stdout,format,valist); } +/********************************************************************* + * vprintf_s (MSVCRT.@) + */ +int CDECL MSVCRT_vprintf_s(const char *format, __ms_va_list valist) +{ + return MSVCRT_vfprintf_s(MSVCRT_stdout,format,valist); +} + /********************************************************************* * vwprintf (MSVCRT.@) */ @@ -3470,6 +3478,14 @@ int CDECL MSVCRT_vwprintf(const MSVCRT_wchar_t *format, __ms_va_list valist) return MSVCRT_vfwprintf(MSVCRT_stdout,format,valist); } +/********************************************************************* + * vwprintf_s (MSVCRT.@) + */ +int CDECL MSVCRT_vwprintf_s(const MSVCRT_wchar_t *format, __ms_va_list valist) +{ + return MSVCRT_vfwprintf_s(MSVCRT_stdout,format,valist); +} + /********************************************************************* * fprintf (MSVCRT.@) */ diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec index b6d1f10672..c861643376 100644 --- a/dlls/msvcrt/msvcrt.spec +++ b/dlls/msvcrt/msvcrt.spec @@ -1426,14 +1426,14 @@ @ cdecl vfwprintf(ptr wstr ptr) MSVCRT_vfwprintf @ cdecl vfwprintf_s(ptr wstr ptr) MSVCRT_vfwprintf_s @ cdecl vprintf(str ptr) MSVCRT_vprintf -# stub vprintf_s +@ cdecl vprintf_s(str ptr) MSVCRT_vprintf_s # stub vsnprintf @ cdecl vsprintf(ptr str ptr) MSVCRT_vsprintf @ cdecl vsprintf_s(ptr long str ptr) MSVCRT_vsprintf_s @ cdecl vswprintf(ptr wstr ptr) MSVCRT_vswprintf @ cdecl vswprintf_s(ptr long wstr ptr) MSVCRT_vswprintf_s @ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf -# stub vwprintf_s +@ cdecl vwprintf_s(wstr ptr) MSVCRT_vwprintf_s # stub wcrtomb # stub wcrtomb_s @ cdecl wcscat(wstr wstr) ntdll.wcscat diff --git a/include/msvcrt/stdio.h b/include/msvcrt/stdio.h index e27c8ca2bf..e8c7671bef 100644 --- a/include/msvcrt/stdio.h +++ b/include/msvcrt/stdio.h @@ -168,6 +168,7 @@ int __cdecl ungetc(int,FILE*); int __cdecl vfprintf(FILE*,const char*,__ms_va_list); int __cdecl vfprintf_s(FILE*,const char*,__ms_va_list); int __cdecl vprintf(const char*,__ms_va_list); +int __cdecl vprintf_s(const char*,__ms_va_list); int __cdecl vsprintf(char*,const char*,__ms_va_list); int __cdecl vsprintf_s(char*,size_t,const char*,__ms_va_list); @@ -217,6 +218,7 @@ int __cdecl vfwprintf_s(FILE*,const wchar_t*,__ms_va_list); int __cdecl vswprintf(wchar_t*,const wchar_t*,__ms_va_list); int __cdecl vswprintf_s(wchar_t*,size_t,const wchar_t*,__ms_va_list); int __cdecl vwprintf(const wchar_t*,__ms_va_list); +int __cdecl vwprintf_s(const wchar_t*,__ms_va_list); int __cdecl wprintf(const wchar_t*,...); int __cdecl wscanf(const wchar_t*,...); int __cdecl wscanf_s(const wchar_t*,...); diff --git a/include/msvcrt/wchar.h b/include/msvcrt/wchar.h index 7c495f08b5..d0a6a37b0c 100644 --- a/include/msvcrt/wchar.h +++ b/include/msvcrt/wchar.h @@ -314,6 +314,7 @@ int __cdecl vfwprintf_s(FILE*,const wchar_t*,__ms_va_list); int __cdecl vswprintf(wchar_t*,const wchar_t*,__ms_va_list); int __cdecl vswprintf_s(wchar_t*,size_t,const wchar_t*,__ms_va_list); int __cdecl vwprintf(const wchar_t*,__ms_va_list); +int __cdecl vwprintf_s(const wchar_t*,__ms_va_list); int __cdecl wprintf(const wchar_t*,...); int __cdecl wscanf(const wchar_t*,...); int __cdecl wscanf_s(const wchar_t*,...);