diff options
Diffstat (limited to 'include/error.h')
-rw-r--r-- | include/error.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/error.h b/include/error.h index 63132ff..0640d71 100644 --- a/include/error.h +++ b/include/error.h @@ -10,14 +10,14 @@ #define error_str(i) errstr(i) extern char *error_str(int); -/* Exception handling notes: +/* Exception handling notes: (1) system errors RECEIVED according to <errno.h> during operation and handed over (2) application errors DEFINED internally and ennumerated alongside with <errno.h> */ /* djb backwards compatibility - deprecated form of system errors */ -/* Comparison of error codes and constants: - intern Linux FreeBSD OmniOS */ +/* Comparison of error codes and constants: + intern Linux FreeBSD OmniOS */ #define error_intr EINTR /* -1 4 4 4 */ #define error_nomem ENOMEM /* -2 12 12 12 */ #define error_noent ENOENT /* -3 2 2 2 */ @@ -35,9 +35,9 @@ extern char *error_str(int); #define error_proto EPROTO /* -15 71 92 71 */ #define error_isdir EISDIR /* -16 21 21 21 */ #define error_connrefused ECONNREFUSED /* -17 111 61 146 */ -//extern int error_notdir; /* -18 20 20 20 */ -#define error_rofs EROFS /* -19 30 30 30 */ -#define error_connreset ECONNRESET /* -20 104 54 131 */ +#define error_rofs EROFS /* -19 30 30 30 */ +#define error_connreset ECONNRESET /* -20 104 54 131 */ +//extern int error_notdir; /* -18 20 20 20 */ /* djb uses some internal application error and class definitions -- revised (feh) */ #define CAT -10 /* raw message w/o terminating \n */ |