diff options
author | Marvin Borner | 2020-07-23 20:13:25 +0200 |
---|---|---|
committer | Marvin Borner | 2020-07-23 20:13:25 +0200 |
commit | a0b8c61b09200aa3f9e27878cb866648a7d26502 (patch) | |
tree | 31de26c3c491d3fee719a1d9d5aad2b2ce879e2a /src/lib/inc/print.h | |
parent | 99e183a2f569729d722d83503cb851d6198fc1fe (diff) |
Added formatted print function
Diffstat (limited to 'src/lib/inc/print.h')
-rw-r--r-- | src/lib/inc/print.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <arg.h> + +int printf(const char *format, ...); +int vprintf(const char *format, va_list ap); +int vsprintf(char *str, const char *format, va_list ap); + +#endif |