From 9537d8e087731fc6d6de22d29b2dccda572d7f06 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 25 Nov 2015 11:46:10 +0100 Subject: tell in doc in which version things were introduced MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/assert.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/assert.h') diff --git a/include/assert.h b/include/assert.h index 4523860..5330df9 100644 --- a/include/assert.h +++ b/include/assert.h @@ -37,6 +37,8 @@ * to save CPU-cycles. * * @etymology (Assert)ion. + * + * @since Always. */ #ifdef NDEBUG # define assert(expression) ((void)0) @@ -59,6 +61,8 @@ * @etymology (`assert`) version of (`perror`). * * @param errnum:int The error code, describing the error that occurred. + * + * @since Always. */ # ifdef assert_perror # undef assert_perror @@ -92,6 +96,8 @@ * * @param expression:scalar The expression to evaluate. * @param message:const char* The message to print on error. + * + * @since Always. */ # define static_assert _Static_assert #endif @@ -106,6 +112,8 @@ * @param line The line in the source code whence the assertion was made. * @param func The function in the source code whence the assertion was made, * `NULL` if unknown (C99 is required.) + * + * @since Always. */ __noreturn void __assert_fail(const char*, int, const char*, int, const char*) __GCC_ONLY(__attribute__((__nonnull__(3, 5)))); -- cgit v1.2.3-70-g09d2