/*- * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. * * %sccs.include.redist.c% * * @(#)err.h 8.1 (Berkeley) 06/02/93 */ #ifndef _ERR_H_ #define _ERR_H_ /* * Don't use va_list in the err/warn prototypes. Va_list is typedef'd in two * places ( and ), so if we include one * of them here we may collide with the utility's includes. It's unreasonable * for utilities to have to include one of them to include err.h, so we get * _BSD_VA_LIST_ from and use it. */ #include #include __BEGIN_DECLS __dead void err __P((int, const char *, ...)); __dead void verr __P((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 warnx __P((const char *, ...)); void vwarnx __P((const char *, _BSD_VA_LIST_)); __END_DECLS #endif /* !_ERR_H_ */