This is a clib library offering variants of abort()
.
It aims to be compatible with libc conventions.
- Uses attributes for compile-time format string checking
aborts
will print a message and abortabortf
will format a message and abortabortvf
is the varargs version ofabortf
#include <abortf.h>
extern void aborts(const char *msg);
extern void abortf(const char *fmt, ...);
extern void abortvf(const char *fmt, va_list a);