55 const char *source,
int line)
58 if ((fp = fopen(path, mode)) == NULL) {
59 char const format_string[] =
"%s (path: \"%s\")";
60 char const * err_string = strerror(errno);
62 xmalloc(strlen(format_string) + strlen(err_string) + strlen(path));
63 sprintf(error_buffer,
"xfopen: %s (path: \"%s\")", err_string, path);
void symprefix() abort_message(const char *msg, const char *source, int line)
add versions of standard API functions not returning on error
#define xfopen(path, mode)
Define library-specific symbol prefix macros.
#define symprefix(symbol)