aboutsummaryrefslogtreecommitdiff
path: root/5.19/err.c
diff options
context:
space:
mode:
Diffstat (limited to '5.19/err.c')
-rw-r--r--5.19/err.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/5.19/err.c b/5.19/err.c
new file mode 100644
index 0000000..0bc092c
--- /dev/null
+++ b/5.19/err.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include "err.h"
+
+void err(char *s)
+{
+ printf("fatal error: %s\n", s);
+ exit(1);
+}