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