err.h
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20: #ifndef _ERR_H
21: #define _ERR_H 1
22:
23: #include <features.h>
24:
25: #define __need___va_list
26: #include <stdarg.h>
27: #ifndef __GNUC_VA_LIST
28: # define __gnuc_va_list __ptr_t
29: #endif
30:
31: __BEGIN_DECLS
32:
33:
34:
35: extern void warn (__const char *__format, ...)
36: __attribute__ ((__format__ (__printf__, 1, 2)));
37: extern void vwarn (__const char *__format, __gnuc_va_list)
38: __attribute__ ((__format__ (__printf__, 1, 0)));
39:
40:
41: extern void warnx (__const char *__format, ...)
42: __attribute__ ((__format__ (__printf__, 1, 2)));
43: extern void vwarnx (__const char *__format, __gnuc_va_list)
44: __attribute__ ((__format__ (__printf__, 1, 0)));
45:
46:
47: extern void err (int __status, __const char *__format, ...)
48: __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
49: extern void verr (int __status, __const char *__format, __gnuc_va_list)
50: __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
51: extern void errx (int __status, __const char *__format, ...)
52: __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
53: extern void verrx (int __status, __const char *, __gnuc_va_list)
54: __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
55:
56: __END_DECLS
57:
58: #endif
59:
© Andrew Scott 2006 -
2024,
All Rights Reserved