diff options
Diffstat (limited to 'include/err.h')
| -rw-r--r-- | include/err.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/err.h b/include/err.h new file mode 100644 index 00000000..f08005f7 --- /dev/null +++ b/include/err.h @@ -0,0 +1,18 @@ +#ifndef __ERR_H +#define __ERR_H + +#include <stdarg.h> + +_Noreturn void err(int eval, const char *fmt, ...); +_Noreturn void errx(int eval, const char *fmt, ...); + +void warn(const char *fmt, ...); +void warnx(const char *fmt, ...); + +_Noreturn void verr(int eval, const char *fmt, va_list args); +_Noreturn void verrx(int eval, const char *fmt, va_list args); + +void vwarn(const char *fmt, va_list args); +void vwarnx(const char *fmt, va_list args); + +#endif |
