mirror of
https://github.com/devkitPro/wut.git
synced 2026-04-17 15:07:32 -05:00
- Fixed a few format string bugs, in `libwhb/crash.c` and `wutdevoptab`, where there was a mismatch of specifiers and arguments that could lead to crashes. - Made debug prints use `%p` when printing pointers. --HG-- branch : printf-attribute-hg
15 lines
193 B
C
15 lines
193 B
C
#pragma once
|
|
#include <wut.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int
|
|
__os_snprintf(char *buf, size_t n, const char *format, ... )
|
|
WUT_FORMAT_PRINTF(3, 4);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|