From d1ff7bcc91886626dc9060ec5fb67ee102ab7c1d Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Mon, 11 Mar 2024 21:30:31 -0400 Subject: usermode capable kernel with logging syscall --- lib/format.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/format.h (limited to 'lib/format.h') diff --git a/lib/format.h b/lib/format.h new file mode 100644 index 0000000..5a2b75c --- /dev/null +++ b/lib/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