stubdom: add v?errx? and v?warnx? functions
PATCH 1/1 stubdom: add v?errx? and v?warnx? functions
stubdom: add v?errx? and v?warnx? functions
Signed-off-by Samuel Thibault <[email protected]>
extras/mini-os/include/posix/err.h new file +15 -0
@@ -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