aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-20 00:29:50 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-20 00:29:50 +0100
commitaedadf2aa4030a506bb29ff21ebd424e16b1be83 (patch)
tree6d069915cebcc0b500a36a01e9eaf9eb9853e1ea /src
parentfix issue #4 (diff)
downloadslibc-aedadf2aa4030a506bb29ff21ebd424e16b1be83.tar.gz
slibc-aedadf2aa4030a506bb29ff21ebd424e16b1be83.tar.bz2
slibc-aedadf2aa4030a506bb29ff21ebd424e16b1be83.tar.xz
more etymology
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/error/error.c2
-rw-r--r--src/error/error_at_line.c2
-rw-r--r--src/error/variables.c6
-rw-r--r--src/error/verror.c2
-rw-r--r--src/error/verror_at_line.c2
-rw-r--r--src/inttypes/imaxabs.c2
-rw-r--r--src/inttypes/imaxdiv.c2
7 files changed, 18 insertions, 0 deletions
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.