From ace65b453151845bc361f21f3e5b651c35f9f126 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Wed, 22 May 2024 13:00:41 -0400 Subject: massive refactor for mp and organization --- klib/format.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 klib/format.h (limited to 'klib/format.h') diff --git a/klib/format.h b/klib/format.h new file mode 100644 index 0000000..5a2b75c --- /dev/null +++ b/klib/format.h @@ -0,0 +1,13 @@ +#ifndef JOVE_LIB_FORMAT_H +#define JOVE_LIB_FORMAT_H 1 + +#include +#include + +size_t ltostr(char *s, size_t limit, unsigned long l, bool sgn, int radix); + +char *sfmt(char *s, size_t limit, const char *fmt, ...); +#include +char *svfmt(char *s, size_t limit, const char *fmt, va_list ap); + +#endif -- cgit v1.2.1