This repository has been archived on 2024-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
rockOS/libc/stdio/printf.c

11 lines
237 B
C
Raw Normal View History

2022-07-18 09:59:04 +03:00
#include <stdarg.h>
#include <stdio.h>
__attribute__ ((format (printf, 1, 2))) int printf(const char* format, ...) {
va_list list;
va_start(list, format);
int ret = vprintf(format, list);
va_end(list);
return ret;
2022-07-18 09:59:04 +03:00
}