1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2025-10-02 23:13:56 -04:00

Add function "kernaux_printf"

This commit is contained in:
Alex Kotov 2020-12-07 02:37:53 +05:00
parent 1bdda5b53e
commit ceff5cf197
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
8 changed files with 53 additions and 3 deletions

17
include/kernaux/printf.h Normal file
View file

@ -0,0 +1,17 @@
#ifndef KERNAUX_INCLUDED_PRINTF
#define KERNAUX_INCLUDED_PRINTF 1
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
void kernaux_printf(void (*putchar)(char), const char *format, ...);
void kernaux_printf_va(void (*putchar)(char), const char *format, va_list va);
#ifdef __cplusplus
}
#endif
#endif