author | Rich Felker <dalias@aerifal.cx> | 2011年04月05日 11:16:49 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011年04月05日 11:16:49 -0400 |
commit | 39e48531eff4e3c3e3e6d1339ff6085f1e2f69bc (patch) | |
tree | 904d053864371a3dd3ffd88c5635d1cf539d3ccb /include/err.h | |
parent | 25ce7621e0cbbbc7d31f016f0840a07b12e68912 (diff) | |
download | musl-39e48531eff4e3c3e3e6d1339ff6085f1e2f69bc.tar.gz |
-rw-r--r-- | include/err.h | 24 |
diff --git a/include/err.h b/include/err.h new file mode 100644 index 00000000..5e33f9e4 --- /dev/null +++ b/include/err.h @@ -0,0 +1,24 @@ +#ifndef _ERR_H +#define _ERR_H + +#include <stdarg.h> + +#ifdef __cplusplus +extern "C" { +#endif + +void warn(const char *, ...); +void vwarn(const char *, va_list); +void warnx(const char *, ...); +void vwarnx(const char *, va_list); + +void err(int, const char *, ...); +void verr(int, const char *, va_list); +void errx(int, const char *, ...); +void verrx(int, const char *, va_list); + +#ifdef __cplusplus +} +#endif + +#endif |