38 #define ERR_DNSPDS -10
40 #define ERR_ANDMAP -11
41 #define ERR_ANDPLB -12
42 #define ERR_ANDMAD -13
43 #define ERR_ANDNCQ -14
45 #define ERR_RSLERC -15
46 #define ERR_RSLAIE -16
47 #define ERR_RSLNNS -17
48 #define ERR_RSLFDQ -18
49 #define ERR_RSLRSL -19
50 #define ERR_RSLAQD -20
52 #define ERR_MRKINI -21
53 #define ERR_NETFIL -22
54 #define ERR_NETRUL -23
55 #define ERR_NETCOM -24
56 #define ERR_NETCHA -25
57 #define ERR_NETDEL -26
58 #define ERR_NETSTO -27
59 #define ERR_NETRST -28
61 #define ERR_SNDMRF -29
62 #define ERR_SNDRCS -30
64 #define ERR_ZLIBCP -31
65 #define ERR_ZLIBUP -32
66 #define ERR_ZLIBNU -33
68 #define ERR_TOTAL_ERRS (-(ERR_ZLIBNU))
69 #define ERR_OVERFLOW "Error number does not exist."
78 #define ERR_NERR (ERR_TOTAL_ERRS)
79 #define err_seterrno(n) errno=(n);err_func=__func__; \
81 #define err_ret(n,ret) {err_seterrno(n);return ret;}
82 #define err_intret(n) {err_seterrno(n);return -1;}
83 #define err_voidret(n) {err_seterrno(n);return NULL;}
84 #define err_strerror(e) \
88 #define ERR_FORMAT "In %s(): %s() returns -> %s"
89 #define err_str ERR_FORMAT,__func__, \
90 err_func,__err_strerror(errno)
const char * err_file
Definition: err_errno.h:77
const char * __err_strerror(int n)
Definition: err_errno.c:64
const char * err_func
Definition: err_errno.h:77