183 static int msg_error_count = 0;
184 static int msg_error_bound = 13;
243 if (++msg_error_count >= msg_error_bound)
244 msg_fatal(
"too many errors - program terminated");
321 msg_cleanup_fn = cleanup_fn;
329 int old = msg_error_bound;
331 msg_error_bound = limit;
void msg_error(const char *fmt,...)
int msg_error_limit(int limit)
NORETURN msg_panic(const char *fmt,...)
void(* MSG_CLEANUP_FN)(void)
NORETURN vmsg_panic(const char *fmt, va_list ap)
void msg_vprintf(int level, const char *format, va_list ap)
void msg_warn(const char *fmt,...)
void vmsg_warn(const char *fmt, va_list ap)
NORETURN msg_fatal(const char *fmt,...)
NORETURN vmsg_fatal(const char *fmt, va_list ap)
void vmsg_info(const char *fmt, va_list ap)
void vmsg_error(const char *fmt, va_list ap)
NORETURN msg_fatal_status(int status, const char *fmt,...)
void msg_error_clear(void)
NORETURN vmsg_fatal_status(int status, const char *fmt, va_list ap)
MSG_CLEANUP_FN msg_cleanup(MSG_CLEANUP_FN cleanup_fn)
void msg_info(const char *fmt,...)