summary refs log tree commit diff
path: root/err.c
blob: 0b98a2b508df3c282d4b9476aec00eba58f87bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdlib.h>
#include <stdio.h>
#include "err.h"

void perr(const char *s) {
	fprintf(stderr, "%s\n", s);
}

void efatal(const char *s) {
	perror(s);
	exit(1);
}