aboutsummaryrefslogtreecommitdiffstats
path: root/src/error
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-25 11:46:10 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-25 11:46:10 +0100
commit9537d8e087731fc6d6de22d29b2dccda572d7f06 (patch)
tree138e08037c8dad2b455a04bd5f972c03ddc2cff2 /src/error
parentslibc-print does not define NULL (diff)
downloadslibc-9537d8e087731fc6d6de22d29b2dccda572d7f06.tar.gz
slibc-9537d8e087731fc6d6de22d29b2dccda572d7f06.tar.bz2
slibc-9537d8e087731fc6d6de22d29b2dccda572d7f06.tar.xz
tell in doc in which version things were introduced
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/error')
-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
5 files changed, 14 insertions, 0 deletions
diff --git a/src/error/error.c b/src/error/error.c
index 6b15c4c..496ce3c 100644
--- a/src/error/error.c
+++ b/src/error/error.c
@@ -35,6 +35,8 @@
* be printed.
* @param format Formatting-string for a detailed description of what happend.
* @param args Formatting-arguments for `format`.
+ *
+ * @since Always.
*/
void error(int status, int errnum, const char* format, ...)
{
diff --git a/src/error/error_at_line.c b/src/error/error_at_line.c
index 9e9a79c..8b88df3 100644
--- a/src/error/error_at_line.c
+++ b/src/error/error_at_line.c
@@ -37,6 +37,8 @@
* @param linenum The line number of in the source code file where the error occurred.
* @param format Formatting-string for a detailed description of what happend.
* @param args Formatting-arguments for `format`.
+ *
+ * @since Always.
*/
void error_at_line(int status, int errnum, const char* filename,
unsigned int linenum, const char* format, ...)
diff --git a/src/error/variables.c b/src/error/variables.c
index a31c970..b012921 100644
--- a/src/error/variables.c
+++ b/src/error/variables.c
@@ -27,6 +27,8 @@
* This is a GNU extension.
*
* @etymology (`error`)-subsystem: (message count).
+ *
+ * @since Always.
*/
volatile unsigned int error_message_count = 0;
@@ -48,6 +50,8 @@ volatile unsigned int error_message_count = 0;
* This is a GNU extension.
*
* @etymology (`error`)-subsystem: print (one) time (per line).
+ *
+ * @since Always.
*/
volatile int error_one_per_line = 1;
@@ -62,6 +66,8 @@ volatile int error_one_per_line = 1;
* This is a GNU extension.
*
* @etymology (`error`)-subsystem function: (print) the (prog)ram's (name).
+ *
+ * @since Always.
*/
void (*volatile error_print_progname)(void) = NULL;
diff --git a/src/error/verror.c b/src/error/verror.c
index a5a4551..3632f7c 100644
--- a/src/error/verror.c
+++ b/src/error/verror.c
@@ -34,6 +34,8 @@
* be printed.
* @param format Formatting-string for a detailed description of what happend.
* @param args Formatting-arguments for `format`.
+ *
+ * @since Always.
*/
void verror(int status, int errnum, const char* format, va_list args)
{
diff --git a/src/error/verror_at_line.c b/src/error/verror_at_line.c
index dd51f30..ae6c566 100644
--- a/src/error/verror_at_line.c
+++ b/src/error/verror_at_line.c
@@ -42,6 +42,8 @@
* @param linenum The line number of in the source code file where the error occurred.
* @param format Formatting-string for a detailed description of what happend.
* @param args Formatting-arguments for `format`.
+ *
+ * @since Always.
*/
void verror_at_line(int status, int errnum, const char* filename,
unsigned int linenum, const char* format, va_list args)