From fc00c656c96528112d05cf0edf8631bd5eaea446 Mon Sep 17 00:00:00 2001 From: Kacper Date: Sun, 7 Dec 2025 20:10:31 +0100 Subject: Add build system scaffolding and libc headers --- include/err.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/err.h (limited to 'include/err.h') diff --git a/include/err.h b/include/err.h new file mode 100644 index 00000000..f08005f7 --- /dev/null +++ b/include/err.h @@ -0,0 +1,18 @@ +#ifndef __ERR_H +#define __ERR_H + +#include + +_Noreturn void err(int eval, const char *fmt, ...); +_Noreturn void errx(int eval, const char *fmt, ...); + +void warn(const char *fmt, ...); +void warnx(const char *fmt, ...); + +_Noreturn void verr(int eval, const char *fmt, va_list args); +_Noreturn void verrx(int eval, const char *fmt, va_list args); + +void vwarn(const char *fmt, va_list args); +void vwarnx(const char *fmt, va_list args); + +#endif -- cgit v1.2.3