libkernaux/include/kernaux/printf.h

19 lines
349 B
C
Raw Normal View History

2020-12-06 21:37:53 +00:00
#ifndef KERNAUX_INCLUDED_PRINTF
2021-12-20 06:17:53 +00:00
#define KERNAUX_INCLUDED_PRINTF
2020-12-06 21:37:53 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2021-12-13 20:46:58 +00:00
#include <stdarg.h>
2020-12-06 22:07:12 +00:00
void kernaux_printf(void (*putchar)(char), const char *format, ...)
__attribute__((format(printf, 2, 3)));
2020-12-06 21:37:53 +00:00
void kernaux_printf_va(void (*putchar)(char), const char *format, va_list va);
#ifdef __cplusplus
}
#endif
#endif