[klibc] 将函数签名与标准 libc 对齐以修复类型冲突 #10890

This commit is contained in:
Copilot
2025-11-07 15:48:51 +08:00
committed by GitHub
parent 4ee00eba9b
commit d39a439603
6 changed files with 35 additions and 34 deletions

View File

@@ -19,9 +19,9 @@ extern "C" {
#endif
int rt_vsprintf(char *dest, const char *format, va_list arg_ptr);
int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args);
int rt_vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
int rt_sprintf(char *buf, const char *format, ...);
int rt_snprintf(char *buf, rt_size_t size, const char *format, ...);
int rt_snprintf(char *buf, size_t size, const char *format, ...);
int rt_vsscanf(const char *buffer, const char *format, va_list ap);
int rt_sscanf(const char *str, const char *format, ...);