123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #ifndef _ERR_H
- #define _ERR_H 1
- #include <features.h>
- #define __need___va_list
- #include <stdarg.h>
- #ifndef __GNUC_VA_LIST
- # define __gnuc_va_list __ptr_t
- #endif
- __BEGIN_DECLS
- extern void warn (const char *__format, ...)
- __attribute__ ((__format__ (__printf__, 1, 2)));
- extern void vwarn (const char *__format, __gnuc_va_list)
- __attribute__ ((__format__ (__printf__, 1, 0)));
- extern void warnx (const char *__format, ...)
- __attribute__ ((__format__ (__printf__, 1, 2)));
- extern void vwarnx (const char *__format, __gnuc_va_list)
- __attribute__ ((__format__ (__printf__, 1, 0)));
- extern void err (int __status, const char *__format, ...)
- __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
- extern void verr (int __status, const char *__format, __gnuc_va_list)
- __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
- extern void errx (int __status, const char *__format, ...)
- __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
- extern void verrx (int __status, const char *, __gnuc_va_list)
- __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
- __END_DECLS
- #endif
|