From a0b8c61b09200aa3f9e27878cb866648a7d26502 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 23 Jul 2020 20:13:25 +0200 Subject: Added formatted print function --- src/lib/inc/print.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/lib/inc/print.h (limited to 'src/lib/inc/print.h') diff --git a/src/lib/inc/print.h b/src/lib/inc/print.h new file mode 100644 index 0000000..1a2419b --- /dev/null +++ b/src/lib/inc/print.h @@ -0,0 +1,13 @@ +// MIT License, Copyright (c) 2020 Marvin Borner +// I may (re)move this in the future // TODO + +#ifndef PRINT_H +#define PRINT_H + +#include + +int printf(const char *format, ...); +int vprintf(const char *format, va_list ap); +int vsprintf(char *str, const char *format, va_list ap); + +#endif -- cgit v1.2.3