1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
| | #ifndef _ERR_H
#define _ERR_H
#include <features.h>
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
void warn(const char *, ...)
#if __GNUC__ >= 3
__attribute__ ((__format__ (__printf__, 1, 2)))
#endif
;
void vwarn(const char *, va_list)
#if __GNUC__ >= 3
__attribute__ ((__format__ (__printf__, 1, 0)))
#endif
;
void warnx(const char *, ...)
#if __GNUC__ >= 3
__attribute__ ((__format__ (__printf__, 1, 2)))
#endif
;
void vwarnx(const char *, va_list)
#if __GNUC__ >= 3
__attribute__ ((__format__ (__printf__, 1, 0)))
#endif
;
_Noreturn void err(int, const char *, ...)
#if __GNUC__ >= 3
__attribute__ ((__format__ (__printf__, 2, 3)))
#endif
;
_Noreturn void verr(int, const char *, va_list)
#if __GNUC__ >= 3
__attribute__ ((__format__ (__printf__, 2, 0)))
#endif
;
_Noreturn void errx(int, const char *, ...)
#if __GNUC__ >= 3
__attribute__ ((__format__ (__printf__, 2, 3)))
#endif
;
_Noreturn void verrx(int, const char *, va_list)
#if __GNUC__ >= 3
__attribute__ ((__format__ (__printf__, 2, 0)))
#endif
;
#ifdef __cplusplus
}
#endif
#endif
|