err.h 410 B

123456789101112131415161718192021222324
  1. #ifndef _ERR_H
  2. #define _ERR_H
  3. #include <stdarg.h>
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. void warn(const char *, ...);
  8. void vwarn(const char *, va_list);
  9. void warnx(const char *, ...);
  10. void vwarnx(const char *, va_list);
  11. void err(int, const char *, ...);
  12. void verr(int, const char *, va_list);
  13. void errx(int, const char *, ...);
  14. void verrx(int, const char *, va_list);
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif