55 const char *source,
int line)
58 if ((fp = fopen(path, mode)) == NULL)
75 if ((r = fputc(c, stream)) == EOF)
add versions of standard API functions not returning on error
Define library-specific symbol prefix macros.
#define SymPrefix(symbol)
int SymPrefix() xfputc(int c, FILE *stream, const char *source, int line)
void SymPrefix() xfclose(FILE *fp, const char *source, int line)
FILE *SymPrefix() xfopen(const char *path, const char *mode, const char *source, int line)