diff options
Diffstat (limited to 'include/error.h')
-rw-r--r-- | include/error.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/error.h b/include/error.h index d6acb6e..5d0e24f 100644 --- a/include/error.h +++ b/include/error.h @@ -36,6 +36,8 @@ * * This is a GNU extension. * + * @etymology Report (error)! + * * @param status The process will exit, with the function returning, with this * exit status, unless it is zero. If zero, the process shall not exit. * @param errnum The value of `errno` when the error occurred, zero if the a textual @@ -52,6 +54,8 @@ void error(int, int, const char*, ...) * * This is a slibc extension to the GNU extension `error`. * + * @etymology (V)ariadic version of (`error`). + * * @param status The process will exit, with the function returning, with this * exit status, unless it is zero. If zero, the process shall not exit. * @param errnum The value of `errno` when the error occurred, zero if the a textual @@ -71,6 +75,8 @@ void verror(int, int, const char*, va_list); * * This is a GNU extension. * + * @etymology Report (error at line) in source code! + * * @param status The process will exit, with the function returning, with this * exit status, unless it is zero. If zero, the process shall not exit. * @param errnum The value of `errno` when the error occurred, zero if the a textual @@ -90,6 +96,8 @@ void error_at_line(int, int, const char*, unsigned int, const char*, ...) * * This is a slibc extension to the GNU extension `error_at_line`. * + * @etymology (V)ariadic version of (`error_at_line`). + * * @param status The process will exit, with the function returning, with this * exit status, unless it is zero. If zero, the process shall not exit. * @param errnum The value of `errno` when the error occurred, zero if the a textual @@ -111,6 +119,8 @@ void verror_at_line(int, int, const char*, unsigned int, const char*, va_list); * This variable is global and shared by all threads. * * This is a GNU extension. + * + * @etymology (`error`)-subsystem: (message count). */ extern volatile unsigned int error_message_count; @@ -129,6 +139,8 @@ extern volatile unsigned int error_message_count; * occurred on the same line as the last time. * * This is a GNU extension. + * + * @etymology (`error`)-subsystem: print (one) time (per line). */ extern volatile int error_one_per_line; @@ -140,6 +152,8 @@ extern volatile int error_one_per_line; * shared by all threads. * * This is a GNU extension. + * + * @etymology (`error`)-subsystem function: (print) the (prog)ram's (name). */ extern void (*volatile error_print_progname)(void); #endif |