aboutsummaryrefslogtreecommitdiffstats
path: root/src/string/strn/strndup.c
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/strn/strndup.c
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/strn/strndup.c')
-rw-r--r--src/string/strn/strndup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string/strn/strndup.c b/src/string/strn/strndup.c
index ca3b3f0..51aa2bb 100644
--- a/src/string/strn/strndup.c
+++ b/src/string/strn/strndup.c
@@ -33,6 +33,8 @@
* and `errno` is set to indicate the error.
*
* @throws ENOMEM The process could not allocate sufficient amount of memory.
+ *
+ * @since Always.
*/
char* strndup(const char* string, size_t maxlen)
{