]> git.scottworley.com Git - tl-append/blob - common.c
A space for test & implementation to share code
[tl-append] / common.c
1 #include <stdio.h>
2 #include <stdlib.h>
3
4 const char *FILENAME = "tl.log";
5
6 void die(const char *message) {
7 fputs(message, stderr);
8 fputc('\n', stderr);
9 exit(1);
10 }
11
12 void die_err(const char *message) {
13 perror(message);
14 exit(1);
15 }