From 7e0fe5d8f47a04c8c04317fb08872205fd84f859 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 27 Aug 2008 14:57:51 +0100 Subject: stubdom: add v?errx? and v?warnx? functions Signed-off-by: Samuel Thibault --- extras/mini-os/include/posix/err.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 extras/mini-os/include/posix/err.h (limited to 'extras/mini-os/include') diff --git a/extras/mini-os/include/posix/err.h b/extras/mini-os/include/posix/err.h new file mode 100644 index 0000000000..1079f589af --- /dev/null +++ b/extras/mini-os/include/posix/err.h @@ -0,0 +1,15 @@ +#ifndef _POSIX_ERR_H +#define _POSIX_ERR_H + +#include + +void err(int eval, const char *fmt, ...); +void errx(int eval, const char *fmt, ...); +void warn(const char *fmt, ...); +void warnx(const char *fmt, ...); +void verr(int eval, const char *fmt, va_list args); +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 /* _POSIX_ERR_H */ -- cgit v1.2.3