1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #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)));
- libc_hidden_proto(vwarn)
- 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)));
- libc_hidden_proto(vwarnx)
- 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)));
- libc_hidden_proto(verr)
- 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)));
- libc_hidden_proto(verrx)
- __END_DECLS
- #endif
|