Skip to contentSkip to conversation

stubdom: add v?errx? and v?warnx? functions

PATCH New Samuel Thibault 1 participant 1 message Aug 27, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 stubdom: add v?errx? and v?warnx? functions

stubdom: add v?errx? and v?warnx? functions

extras/mini-os/include/posix/err.h new file +15 -0
diff -r 14a9a1629590 extras/mini-os/include/posix/err.h
@@ -0,0 +1,15 @@
+#ifndef _POSIX_ERR_H
+#define _POSIX_ERR_H
+
+#include <stdarg.h>
+
+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 */
extras/mini-os/lib/sys.c +62 -0

68 lines not on this page · raw message