mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 13:16:31 +00:00
🆕 vsprintk
This commit is contained in:
@ -157,3 +157,13 @@ void printk_enable_animation();
|
||||
*
|
||||
*/
|
||||
void printk_disable_animation();
|
||||
|
||||
/**
|
||||
* @brief 格式化字符串并输出到buf
|
||||
*
|
||||
* @param buf 输出缓冲区
|
||||
* @param fmt 格式
|
||||
* @param ... 参数
|
||||
* @return int 字符串长度
|
||||
*/
|
||||
int sprintk(char *buf, const char *fmt, ...);
|
||||
|
Reference in New Issue
Block a user