| 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 | } |