X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=compat%2Finclude%2Ferr.h;h=8e168d5fa57cfd1b1bd0f32baa851a439feae5d7;hp=6b23d13b860f79ea7a6b2cd9468ee071f417900a;hb=b45f51d61e911ac8a040bef1efda6afd82261e03;hpb=1227625a12a66e0ded78a1997c2d23f23202a382 diff --git a/compat/include/err.h b/compat/include/err.h index 6b23d13..8e168d5 100644 --- a/compat/include/err.h +++ b/compat/include/err.h @@ -1,7 +1,8 @@ /* * Ported to Linux's Second Extended File System as part of the * dump and restore backup suit - * Remy Card , 1994, 1995, 1996 + * Remy Card , 1994-1997 + * Stelian Pop , 1999 * */ @@ -38,6 +39,7 @@ * SUCH DAMAGE. * * @(#)err.h 8.1 (Berkeley) 6/2/93 + * $Id: err.h,v 1.2 1999/10/11 12:53:20 stelian Exp $ */ #ifndef _ERR_H_ @@ -58,12 +60,18 @@ __BEGIN_DECLS __dead void err __P((int, const char *, ...)); __dead void verr __P((int, const char *, _BSD_VA_LIST_)); +__dead void errc __P((int, int, const char *, ...)); +__dead void verrc __P((int, int, const char *, _BSD_VA_LIST_)); __dead void errx __P((int, const char *, ...)); __dead void verrx __P((int, const char *, _BSD_VA_LIST_)); void warn __P((const char *, ...)); void vwarn __P((const char *, _BSD_VA_LIST_)); +void warnc __P((int, const char *, ...)); +void vwarnc __P((int, const char *, _BSD_VA_LIST_)); void warnx __P((const char *, ...)); void vwarnx __P((const char *, _BSD_VA_LIST_)); +void err_set_file __P((void *)); +void err_set_exit __P((void (*)(int))); __END_DECLS #endif /* !_ERR_H_ */