summaryrefslogtreecommitdiff
path: root/include/error.h
diff options
context:
space:
mode:
authordaniel <daniel@planethacker.net>2025-05-06 16:57:32 -0700
committerdaniel <daniel@planethacker.net>2025-05-06 16:57:32 -0700
commit2278df1493e064c197913e49b5d1935942d83448 (patch)
tree42f06ab2f76e2ddf228bafbb03f79621975a4534 /include/error.h
initial import
Diffstat (limited to 'include/error.h')
-rw-r--r--include/error.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/error.h b/include/error.h
new file mode 100644
index 0000000..5ae9b0d
--- /dev/null
+++ b/include/error.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <string.h>
+#include <errno.h>
+
+
+void error(const char *, ...);
+void error_fatal(const char *, ...);