Add errc, warnc, verrc and vwarnc

This commit is contained in:
Robert Millan
2006-02-10 14:59:03 +00:00
committed by Guillem Jover
parent bc2b90c07b
commit 33eb3ecc41
5 changed files with 86 additions and 3 deletions

11
include/bsd/err.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef LIBBSD_ERR_H
#define LIBBSD_ERR_H
#include <err.h>
extern void warnc (int code, const char *format, ...);
extern void vwarnc (int code, const char *format, va_list ap);
extern void errc (int status, int code, const char *format, ...);
extern void verrc (int status, int code, const char *format, va_list ap);
#endif