From aedadf2aa4030a506bb29ff21ebd424e16b1be83 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 20 Nov 2015 00:29:50 +0100 Subject: more etymology MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/error/error.c | 2 ++ src/error/error_at_line.c | 2 ++ src/error/variables.c | 6 ++++++ src/error/verror.c | 2 ++ src/error/verror_at_line.c | 2 ++ src/inttypes/imaxabs.c | 2 ++ src/inttypes/imaxdiv.c | 2 ++ 7 files changed, 18 insertions(+) (limited to 'src') diff --git a/src/error/error.c b/src/error/error.c index ddbb681..6b15c4c 100644 --- a/src/error/error.c +++ b/src/error/error.c @@ -26,6 +26,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 diff --git a/src/error/error_at_line.c b/src/error/error_at_line.c index fbfbae3..9e9a79c 100644 --- a/src/error/error_at_line.c +++ b/src/error/error_at_line.c @@ -26,6 +26,8 @@ * * 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 diff --git a/src/error/variables.c b/src/error/variables.c index 9fd252e..a31c970 100644 --- a/src/error/variables.c +++ b/src/error/variables.c @@ -25,6 +25,8 @@ * This variable is global and shared by all threads. * * This is a GNU extension. + * + * @etymology (`error`)-subsystem: (message count). */ volatile unsigned int error_message_count = 0; @@ -44,6 +46,8 @@ volatile unsigned int error_message_count = 0; * occurred on the same line as the last time. * * This is a GNU extension. + * + * @etymology (`error`)-subsystem: print (one) time (per line). */ volatile int error_one_per_line = 1; @@ -56,6 +60,8 @@ volatile int error_one_per_line = 1; * shared by all threads. * * This is a GNU extension. + * + * @etymology (`error`)-subsystem function: (print) the (prog)ram's (name). */ void (*volatile error_print_progname)(void) = NULL; diff --git a/src/error/verror.c b/src/error/verror.c index 70dfb13..a5a4551 100644 --- a/src/error/verror.c +++ b/src/error/verror.c @@ -25,6 +25,8 @@ * * 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 diff --git a/src/error/verror_at_line.c b/src/error/verror_at_line.c index 55845b3..dd51f30 100644 --- a/src/error/verror_at_line.c +++ b/src/error/verror_at_line.c @@ -31,6 +31,8 @@ * * 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 diff --git a/src/inttypes/imaxabs.c b/src/inttypes/imaxabs.c index 651452a..25ed7b7 100644 --- a/src/inttypes/imaxabs.c +++ b/src/inttypes/imaxabs.c @@ -27,6 +27,8 @@ * overflow, and `INTMAX_MIN` will (probably) * be returned. * + * @etymology `(i)nt(max)_t`-function: (abs)olute value. + * * @param value The integer. * @return The absolute value of the integer. */ diff --git a/src/inttypes/imaxdiv.c b/src/inttypes/imaxdiv.c index 95b6410..e4d0caa 100644 --- a/src/inttypes/imaxdiv.c +++ b/src/inttypes/imaxdiv.c @@ -26,6 +26,8 @@ * Perform an integer division and return * both the quotient and the remainder. * + * @etymology `(i)nt(max)_t`-function: (div)ide. + * * @param numerator The numerator. * @param denominator The denominator, must not be 0 lest * the process will be killed by SIGFPE. -- cgit v1.2.3-70-g09d2