aboutsummaryrefslogtreecommitdiff
path: root/die.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-15 14:23:20 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-15 14:23:20 +0200
commit0a5c176456b7afe024910183392d59116c37088e (patch)
tree4ac1f5241f7b015e0aba7b00e79333a3d88a918c /die.h
parent3ca23ebf8123cf909a057ba6fe833d64aedcb957 (diff)
more hello world (pink window)
Diffstat (limited to 'die.h')
-rw-r--r--die.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/die.h b/die.h
new file mode 100644
index 0000000..a3f391d
--- /dev/null
+++ b/die.h
@@ -0,0 +1,5 @@
+#pragma once
+
+/** @brief print error and exit */
+void die(const char*, ...);
+