1 /* See LICENSE file for copyright and license details. */
11 die(const char *fmt
, ...)
19 vfprintf(stderr
, fmt
, ap
);
22 if (fmt
[0] && fmt
[strlen(fmt
)-1] == ':')
23 fprintf(stderr
, " %s", strerror(saved_errno
));
30 ecalloc(size_t nmemb
, size_t size
)
34 if (!(p
= calloc(nmemb
, size
)))