aboutsummaryrefslogtreecommitdiffstats
path: root/src/string/strerror
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/string/strerror
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/string/strerror')
-rw-r--r--src/string/strerror/strerror.c2
-rw-r--r--src/string/strerror/strerror_l.c2
-rw-r--r--src/string/strerror/strerror_r_gnu.c2
-rw-r--r--src/string/strerror/strerror_r_xsi.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/src/string/strerror/strerror.c b/src/string/strerror/strerror.c
index 315e40d..75af8bd 100644
--- a/src/string/strerror/strerror.c
+++ b/src/string/strerror/strerror.c
@@ -36,6 +36,8 @@
*
* @param errnum The error code.
* @return A description of the error.
+ *
+ * @since Always.
*/
char* strerror(int errnum)
{
diff --git a/src/string/strerror/strerror_l.c b/src/string/strerror/strerror_l.c
index 838040f..0493d9f 100644
--- a/src/string/strerror/strerror_l.c
+++ b/src/string/strerror/strerror_l.c
@@ -34,6 +34,8 @@
* @param locale The locale, must be a valid locale and not
* `LC_GLOBAL_LOCALE`, lest the behaviour is undefined.
* @return A description of the error.
+ *
+ * @since Always.
*/
char* strerror_l(int errnum, locale_t locale)
{
diff --git a/src/string/strerror/strerror_r_gnu.c b/src/string/strerror/strerror_r_gnu.c
index 3e8bfd4..539866a 100644
--- a/src/string/strerror/strerror_r_gnu.c
+++ b/src/string/strerror/strerror_r_gnu.c
@@ -36,6 +36,8 @@
* is set to indicate the error.
*
* @throws ERANGE `buf` was too small to store the description.
+ *
+ * @since Always.
*/
char* __gnu_strerror_r(int errnum, char* buf, size_t buflen)
{
diff --git a/src/string/strerror/strerror_r_xsi.c b/src/string/strerror/strerror_r_xsi.c
index 70c3bc8..028226e 100644
--- a/src/string/strerror/strerror_r_xsi.c
+++ b/src/string/strerror/strerror_r_xsi.c
@@ -35,6 +35,8 @@
* @return Zero on success, value for `errno` on error
*
* @throws ERANGE `buf` was too small to store the description.
+ *
+ * @since Always.
*/
int __xsi_strerror_r(int errnum, char* buf, size_t buflen)
{