aboutsummaryrefslogtreecommitdiffstats
path: root/include/assert.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-19 23:38:02 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-19 23:38:02 +0100
commit4132a111276f4410b7326559d8235df652b0560b (patch)
tree67cfcf7b71eeba3999cb74c54b2f8894dc2d84b2 /include/assert.h
parentfix memory leak at failure of execveat (issue #3) (diff)
downloadslibc-4132a111276f4410b7326559d8235df652b0560b.tar.gz
slibc-4132a111276f4410b7326559d8235df652b0560b.tar.bz2
slibc-4132a111276f4410b7326559d8235df652b0560b.tar.xz
etymology for some functions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include/assert.h')
-rw-r--r--include/assert.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/assert.h b/include/assert.h
index 12b20eb..4523860 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -35,6 +35,8 @@
* POSIX specifies that `assert` shall not evaluate the
* expression if `NDEBUG` is defined. This is probably
* to save CPU-cycles.
+ *
+ * @etymology (Assert)ion.
*/
#ifdef NDEBUG
# define assert(expression) ((void)0)
@@ -54,6 +56,8 @@
*
* `assert_perror` is a GNU-compliant slibc extension.
*
+ * @etymology (`assert`) version of (`perror`).
+ *
* @param errnum:int The error code, describing the error that occurred.
*/
# ifdef assert_perror
@@ -84,6 +88,8 @@
* A compile-time error should occur if the expression
* evaluates to zero.
*
+ * @etymology (Static) (assert)tion.
+ *
* @param expression:scalar The expression to evaluate.
* @param message:const char* The message to print on error.
*/