msvcrt: Implement _snprintf_l.
This commit is contained in:
parent
433df0d5d8
commit
ed79b3f9a5
|
@ -1289,7 +1289,7 @@
|
|||
@ varargs _snprintf(ptr long str) MSVCRT__snprintf
|
||||
@ stub _snprintf_c
|
||||
@ stub _snprintf_c_l
|
||||
@ stub _snprintf_l
|
||||
@ varargs _snprintf_l(ptr long str ptr) MSVCRT__snprintf_l
|
||||
@ varargs _snprintf_s(ptr long long str) MSVCRT__snprintf_s
|
||||
@ stub _snprintf_s_l
|
||||
@ varargs _snscanf(str long str) MSVCRT__snscanf
|
||||
|
|
|
@ -1647,7 +1647,7 @@
|
|||
@ varargs _snprintf(ptr long str) MSVCRT__snprintf
|
||||
@ stub _snprintf_c
|
||||
@ stub _snprintf_c_l
|
||||
@ stub _snprintf_l
|
||||
@ varargs _snprintf_l(ptr long str ptr) MSVCRT__snprintf_l
|
||||
@ varargs _snprintf_s(ptr long long str) MSVCRT__snprintf_s
|
||||
@ stub _snprintf_s_l
|
||||
@ varargs _snscanf(str long str) MSVCRT__snscanf
|
||||
|
|
|
@ -969,7 +969,7 @@
|
|||
@ varargs _snprintf(ptr long str) MSVCRT__snprintf
|
||||
@ stub _snprintf_c
|
||||
@ stub _snprintf_c_l
|
||||
@ stub _snprintf_l
|
||||
@ varargs _snprintf_l(ptr long str ptr) MSVCRT__snprintf_l
|
||||
@ varargs _snprintf_s(ptr long long str) MSVCRT__snprintf_s
|
||||
@ stub _snprintf_s_l
|
||||
@ varargs _snscanf(str long str) MSVCRT__snscanf
|
||||
|
|
|
@ -944,7 +944,7 @@
|
|||
@ varargs _snprintf(ptr long str) MSVCRT__snprintf
|
||||
@ stub _snprintf_c
|
||||
@ stub _snprintf_c_l
|
||||
@ stub _snprintf_l
|
||||
@ varargs _snprintf_l(ptr long str ptr) MSVCRT__snprintf_l
|
||||
@ varargs _snprintf_s(ptr long long str) MSVCRT__snprintf_s
|
||||
@ stub _snprintf_s_l
|
||||
@ varargs _snscanf(str long str) MSVCRT__snscanf
|
||||
|
|
|
@ -912,7 +912,7 @@
|
|||
@ varargs _snprintf(ptr long str) MSVCRT__snprintf
|
||||
# stub _snprintf_c(ptr long str)
|
||||
# stub _snprintf_c_l(ptr long str ptr)
|
||||
# stub _snprintf_l(ptr long str ptr)
|
||||
@ varargs _snprintf_l(ptr long str ptr) MSVCRT__snprintf_l
|
||||
@ varargs _snprintf_s(ptr long long str) MSVCRT__snprintf_s
|
||||
# stub _snprintf_s_l(ptr long long str ptr)
|
||||
@ varargs _snscanf(str long str) MSVCRT__snscanf
|
||||
|
|
|
@ -817,6 +817,20 @@ int CDECL MSVCRT__snprintf(char *str, unsigned int len, const char *format, ...)
|
|||
return retval;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _snprintf_l (MSVCRT.@)
|
||||
*/
|
||||
int CDECL MSVCRT__snprintf_l(char *str, unsigned int count, MSVCRT__locale_t locale,
|
||||
const char *format, ...)
|
||||
{
|
||||
int retval;
|
||||
__ms_va_list valist;
|
||||
__ms_va_start(valist, format);
|
||||
retval = MSVCRT_vsnprintf_l(str, count, format, locale, valist);
|
||||
__ms_va_end(valist);
|
||||
return retval;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _snprintf_s (MSVCRT.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue