1570af302Sopenharmony_ci#ifndef _ERR_H 2570af302Sopenharmony_ci#define _ERR_H 3570af302Sopenharmony_ci 4570af302Sopenharmony_ci#include <features.h> 5570af302Sopenharmony_ci#include <stdarg.h> 6570af302Sopenharmony_ci 7570af302Sopenharmony_ci#ifdef __cplusplus 8570af302Sopenharmony_ciextern "C" { 9570af302Sopenharmony_ci#endif 10570af302Sopenharmony_ci 11570af302Sopenharmony_civoid warn(const char *, ...); 12570af302Sopenharmony_civoid vwarn(const char *, va_list); 13570af302Sopenharmony_civoid warnx(const char *, ...); 14570af302Sopenharmony_civoid vwarnx(const char *, va_list); 15570af302Sopenharmony_ci 16570af302Sopenharmony_ci_Noreturn void err(int, const char *, ...); 17570af302Sopenharmony_ci_Noreturn void verr(int, const char *, va_list); 18570af302Sopenharmony_ci_Noreturn void errx(int, const char *, ...); 19570af302Sopenharmony_ci_Noreturn void verrx(int, const char *, va_list); 20570af302Sopenharmony_ci 21570af302Sopenharmony_ci#ifdef __cplusplus 22570af302Sopenharmony_ci} 23570af302Sopenharmony_ci#endif 24570af302Sopenharmony_ci 25570af302Sopenharmony_ci#endif 26