aboutsummaryrefslogtreecommitdiffstats
path: root/err.h
diff options
context:
space:
mode:
authorverdant <im@verdant.ee>2026-07-21 19:00:56 +0800
committerverdant <im@verdant.ee>2026-07-21 19:00:56 +0800
commit015263141def1a33649fdb0e85c8c137a7d522f2 (patch)
treed16c26f32ce46dc09567791aec0f40f1d6738fc5 /err.h
parentdaacae045dc8b33227b006ab801c4f31884129a7 (diff)
downloadsf-015263141def1a33649fdb0e85c8c137a7d522f2.tar.gz
sf-015263141def1a33649fdb0e85c8c137a7d522f2.zip
Add error handing functions
Diffstat (limited to 'err.h')
-rw-r--r--err.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/err.h b/err.h
new file mode 100644
index 0000000..6bb4697
--- /dev/null
+++ b/err.h
@@ -0,0 +1,8 @@
+#ifndef SS_ERR_H
+#define SS_ERR_H
+
+#include <stdarg.h>
+
+void die(const char* err, ...);
+
+#endif /* SS_ERR_H */