#include "config.h" #include "logerr.h" #include void logerr_file( const char *const s, const char *const msg, const char *const file, const int lineno ) { fprintf( stderr, "%s:%s:%d: %s: %s\n", PROGNAME, file, lineno, s, msg ); } void logerrs_file( const char *const pre, const char *const mid, const char *const post, const char *const msg, const char *const file, const int lineno ) { fprintf( stderr, "%s:%s:%d: %s%s%s: %s\n", PROGNAME, file, lineno, pre, mid, post, msg ); } void logerrl_file( const char *const pre, const size_t mid, const char *const post, const char *const msg, const char *const file, int lineno ) { fprintf( stderr, "%s:%s:%d: %s%ld%s: %s\n", PROGNAME, file, lineno, pre, mid, post, msg ); }