aboutsummaryrefslogtreecommitdiffstats
path: root/src/err
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/err
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 '')
-rw-r--r--src/err/err.c2
-rw-r--r--src/err/errx.c2
-rw-r--r--src/err/verr.c2
-rw-r--r--src/err/verrx.c2
-rw-r--r--src/err/vwarn.c2
-rw-r--r--src/err/vwarnx.c2
-rw-r--r--src/err/warn.c2
-rw-r--r--src/err/warnx.c2
-rw-r--r--src/errno/variables.c4
-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
14 files changed, 34 insertions, 0 deletions
diff --git a/src/err/err.c b/src/err/err.c
index f63d2a4..99b43e5 100644
--- a/src/err/err.c
+++ b/src/err/err.c
@@ -31,6 +31,8 @@
* @param status The exit status the process should have.
* @param format Formatting-string for the warning.
* @param ... Formatting-arguments.
+ *
+ * @since Always.
*/
void err(int status, const char* format, ...)
{
diff --git a/src/err/errx.c b/src/err/errx.c
index d29f849..50f63b7 100644
--- a/src/err/errx.c
+++ b/src/err/errx.c
@@ -31,6 +31,8 @@
* @param status The exit status the process should have.
* @param format Formatting-string for the warning.
* @param ... Formatting-arguments.
+ *
+ * @since Always.
*/
void errx(int status, const char* format, ...)
{
diff --git a/src/err/verr.c b/src/err/verr.c
index 2857c16..475efdb 100644
--- a/src/err/verr.c
+++ b/src/err/verr.c
@@ -33,6 +33,8 @@
* @param status The exit status the process should have.
* @param format Formatting-string for the warning.
* @param args Formatting-arguments.
+ *
+ * @since Always.
*/
void verr(int status, const char* format, va_list args)
{
diff --git a/src/err/verrx.c b/src/err/verrx.c
index 4708264..12b4c72 100644
--- a/src/err/verrx.c
+++ b/src/err/verrx.c
@@ -32,6 +32,8 @@
* @param status The exit status the process should have.
* @param format Formatting-string for the warning.
* @param args Formatting-arguments.
+ *
+ * @since Always.
*/
void verrx(int status, const char* format, va_list args)
{
diff --git a/src/err/vwarn.c b/src/err/vwarn.c
index 78676d4..782f2f1 100644
--- a/src/err/vwarn.c
+++ b/src/err/vwarn.c
@@ -30,6 +30,8 @@
*
* @param format Formatting-string for the warning.
* @param args Formatting-arguments.
+ *
+ * @since Always.
*/
void vwarn(const char* format, va_list args)
{
diff --git a/src/err/vwarnx.c b/src/err/vwarnx.c
index c44e57a..7c29fa1 100644
--- a/src/err/vwarnx.c
+++ b/src/err/vwarnx.c
@@ -29,6 +29,8 @@
*
* @param format Formatting-string for the warning.
* @param args Formatting-arguments.
+ *
+ * @since Always.
*/
void vwarnx(const char* format, va_list args)
{
diff --git a/src/err/warn.c b/src/err/warn.c
index de5c793..82bda4e 100644
--- a/src/err/warn.c
+++ b/src/err/warn.c
@@ -30,6 +30,8 @@
*
* @param format Formatting-string for the warning.
* @param ... Formatting-arguments.
+ *
+ * @since Always.
*/
void warn(const char* format, ...)
{
diff --git a/src/err/warnx.c b/src/err/warnx.c
index d80dfd8..adc136f 100644
--- a/src/err/warnx.c
+++ b/src/err/warnx.c
@@ -30,6 +30,8 @@
*
* @param format Formatting-string for the warning.
* @param ... Formatting-arguments.
+ *
+ * @since Always.
*/
void warnx(const char* format, ...)
{
diff --git a/src/errno/variables.c b/src/errno/variables.c
index e204a2c..9523b37 100644
--- a/src/errno/variables.c
+++ b/src/errno/variables.c
@@ -35,6 +35,8 @@
* or `argv[0]` is edited.
*
* This is a GNU and slibc extension.
+ *
+ * @since Always.
*/
char* program_invocation_name = NULL;
@@ -46,6 +48,8 @@ char* program_invocation_name = NULL;
* or `argv[0]` is edited.
*
* This is a GNU extension.
+ *
+ * @since Always.
*/
char* program_invocation_short_name = NULL;
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)