mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Renamed "snprintf_" to "snprintf"
This commit is contained in:
parent
c968b6f2d5
commit
fb97217927
@ -1569,7 +1569,7 @@ __no_instrument_function int sprintf(char *s, const char *format, ...)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
__no_instrument_function int snprintf_(char *s, size_t n, const char *format, ...)
|
__no_instrument_function int snprintf(char *s, size_t n, const char *format, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
va_start(args, format);
|
va_start(args, format);
|
||||||
|
@ -154,7 +154,7 @@ extern "C"
|
|||||||
*/
|
*/
|
||||||
///@{
|
///@{
|
||||||
PRINTF_VISIBILITY
|
PRINTF_VISIBILITY
|
||||||
int snprintf_(char *s, size_t count, const char *format, ...) ATTR_PRINTF(3, 4);
|
int snprintf(char *s, size_t count, const char *format, ...) ATTR_PRINTF(3, 4);
|
||||||
PRINTF_VISIBILITY
|
PRINTF_VISIBILITY
|
||||||
int vsnprintf(char *s, size_t count, const char *format, va_list arg) ATTR_VPRINTF(3);
|
int vsnprintf(char *s, size_t count, const char *format, va_list arg) ATTR_VPRINTF(3);
|
||||||
///@}
|
///@}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user