aboutsummaryrefslogtreecommitdiffstats
path: root/src/string/str
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/str
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/string/str/rawstrcasestr.c2
-rw-r--r--src/string/str/rawstrstr.c2
-rw-r--r--src/string/str/stpcpy.c2
-rw-r--r--src/string/str/stpmove.c2
-rw-r--r--src/string/str/strcasecmp.c2
-rw-r--r--src/string/str/strcaseends.c2
-rw-r--r--src/string/str/strcasestarts.c2
-rw-r--r--src/string/str/strcasestr.c2
-rw-r--r--src/string/str/strcat.c2
-rw-r--r--src/string/str/strccpy.c2
-rw-r--r--src/string/str/strchr.c2
-rw-r--r--src/string/str/strchrnul.c2
-rw-r--r--src/string/str/strcmove.c2
-rw-r--r--src/string/str/strcmp.c2
-rw-r--r--src/string/str/strcpy.c2
-rw-r--r--src/string/str/strcspn.c2
-rw-r--r--src/string/str/strdup.c2
-rw-r--r--src/string/str/strends.c2
-rw-r--r--src/string/str/strlen.c2
-rw-r--r--src/string/str/strmove.c2
-rw-r--r--src/string/str/strpbrk.c2
-rw-r--r--src/string/str/strrchr.c2
-rw-r--r--src/string/str/strsep.c2
-rw-r--r--src/string/str/strset.c2
-rw-r--r--src/string/str/strspn.c2
-rw-r--r--src/string/str/strstarts.c2
-rw-r--r--src/string/str/strstr.c2
-rw-r--r--src/string/str/strstrcpy.c2
-rw-r--r--src/string/str/strstrmove.c2
-rw-r--r--src/string/str/strtok.c2
-rw-r--r--src/string/str/strtok_r.c2
-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
-rw-r--r--src/string/strfry.c2
-rw-r--r--src/string/strn/stpncpy.c2
-rw-r--r--src/string/strn/stpnmove.c2
-rw-r--r--src/string/strn/strcncpy.c2
-rw-r--r--src/string/strn/strcnmove.c2
-rw-r--r--src/string/strn/strncasecmp.c2
-rw-r--r--src/string/strn/strncasestr.c2
-rw-r--r--src/string/strn/strncat.c2
-rw-r--r--src/string/strn/strncmp.c2
-rw-r--r--src/string/strn/strncpy.c2
-rw-r--r--src/string/strn/strndup.c2
-rw-r--r--src/string/strn/strnlen.c2
-rw-r--r--src/string/strn/strnmove.c2
-rw-r--r--src/string/strn/strnstr.c2
-rw-r--r--src/string/strn/strstrncpy.c2
-rw-r--r--src/string/strn/strstrnmove.c2
51 files changed, 102 insertions, 0 deletions
diff --git a/src/string/str/rawstrcasestr.c b/src/string/str/rawstrcasestr.c
index 7e4cf9b..bae8c38 100644
--- a/src/string/str/rawstrcasestr.c
+++ b/src/string/str/rawstrcasestr.c
@@ -30,6 +30,8 @@
* @param haystack The string to search.
* @param needle The sought after substring.
* @return Pointer to the first occurrence of the substring.
+ *
+ * @since Always.
*/
char* (rawstrcasestr)(const char* haystack, const char* needle)
{
diff --git a/src/string/str/rawstrstr.c b/src/string/str/rawstrstr.c
index 9c3f186..8349210 100644
--- a/src/string/str/rawstrstr.c
+++ b/src/string/str/rawstrstr.c
@@ -29,6 +29,8 @@
* @param haystack The string to search.
* @param needle The sought after substring.
* @return Pointer to the first occurrence of the substring.
+ *
+ * @since Always.
*/
char* (rawstrstr)(const char* haystack, const char* needle)
{
diff --git a/src/string/str/stpcpy.c b/src/string/str/stpcpy.c
index a0d5f79..c643d77 100644
--- a/src/string/str/stpcpy.c
+++ b/src/string/str/stpcpy.c
@@ -26,6 +26,8 @@
* @param whither The destination memory segment.
* @param whence The source memory segment.
* @return `whither + strlen(whence)` is returned.
+ *
+ * @since Always.
*/
char* stpcpy(char* restrict whither, const char* restrict whence)
{
diff --git a/src/string/str/stpmove.c b/src/string/str/stpmove.c
index 8818c30..56ddd24 100644
--- a/src/string/str/stpmove.c
+++ b/src/string/str/stpmove.c
@@ -28,6 +28,8 @@
* @param whither The destination memory segment.
* @param whence The source memory segment.
* @return `whither + strlen(whence)` is returned.
+ *
+ * @since Always.
*/
char* stpmove(char* whither, const char* whence)
{
diff --git a/src/string/str/strcasecmp.c b/src/string/str/strcasecmp.c
index c4b9175..f2d6e83 100644
--- a/src/string/str/strcasecmp.c
+++ b/src/string/str/strcasecmp.c
@@ -31,6 +31,8 @@
* @param b A positive value is returned if this is the lesser.
* @return Zero is returned if `a` and `b` are equal, otherwise,
* see the specifications for `a` and `b`.
+ *
+ * @since Always.
*/
int strcasecmp(const char* a, const char* b)
{
diff --git a/src/string/str/strcaseends.c b/src/string/str/strcaseends.c
index 9155ea8..b9a1756 100644
--- a/src/string/str/strcaseends.c
+++ b/src/string/str/strcaseends.c
@@ -29,6 +29,8 @@
* @param desired The desired ending of the string.
* @return The `string`, where `desired` beings if
* `string` ends with `desired`, `NULL` otherwise.
+ *
+ * @since Always.
*/
char* (strcaseends)(const char* string, const char* desired)
{
diff --git a/src/string/str/strcasestarts.c b/src/string/str/strcasestarts.c
index f584da4..d17b936 100644
--- a/src/string/str/strcasestarts.c
+++ b/src/string/str/strcasestarts.c
@@ -29,6 +29,8 @@
* @param desired The desired beginning of the string.
* @return `string` if `string` begins with
* `desired`, `NULL` otherwise.
+ *
+ * @since Always.
*/
char* (strcasestarts)(const char* string, const char* desired)
{
diff --git a/src/string/str/strcasestr.c b/src/string/str/strcasestr.c
index 6468750..0ac4368 100644
--- a/src/string/str/strcasestr.c
+++ b/src/string/str/strcasestr.c
@@ -27,6 +27,8 @@
* @param needle The sought after substring.
* @return Pointer to the first occurrence of the
* substring, `NULL` if not found.
+ *
+ * @since Always.
*/
char* (strcasestr)(const char* haystack, const char* needle)
{
diff --git a/src/string/str/strcat.c b/src/string/str/strcat.c
index de5c63e..ec3cbe7 100644
--- a/src/string/str/strcat.c
+++ b/src/string/str/strcat.c
@@ -28,6 +28,8 @@
* @param whither The string to extend.
* @param whence The string to append.
* @return `whither` is returned.
+ *
+ * @since Always.
*/
char* strcat(char* restrict whither, const char* restrict whence)
{
diff --git a/src/string/str/strccpy.c b/src/string/str/strccpy.c
index 2d1bcd8..14b179b 100644
--- a/src/string/str/strccpy.c
+++ b/src/string/str/strccpy.c
@@ -34,6 +34,8 @@
* number of copied characters; the address of
* one character passed the last written non-NUL
* character.
+ *
+ * @since Always.
*/
char* strccpy(char* restrict whither, const char* restrict whence, int c)
{
diff --git a/src/string/str/strchr.c b/src/string/str/strchr.c
index 0ed53b4..8226726 100644
--- a/src/string/str/strchr.c
+++ b/src/string/str/strchr.c
@@ -34,6 +34,8 @@
* @param c The sought after character.
* @return Pointer to the first occurrence of `c`,
* `NULL` if none were found.
+ *
+ * @since Always.
*/
char* (strchr)(const char* string, int c)
{
diff --git a/src/string/str/strchrnul.c b/src/string/str/strchrnul.c
index 50dedfe..72ae9bc 100644
--- a/src/string/str/strchrnul.c
+++ b/src/string/str/strchrnul.c
@@ -35,6 +35,8 @@
* @return Pointer to the first occurrence of `c`,
* Pointer to the terminating NUL character
* if none were found.
+ *
+ * @since Always.
*/
char* (strchrnul)(const char* string, int c)
{
diff --git a/src/string/str/strcmove.c b/src/string/str/strcmove.c
index 8310b27..b2f877f 100644
--- a/src/string/str/strcmove.c
+++ b/src/string/str/strcmove.c
@@ -34,6 +34,8 @@
* number of copied characters; the address of
* one character passed the last written non-NUL
* character.
+ *
+ * @since Always.
*/
char* strcmove(char* whither, const char* whence, int c)
{
diff --git a/src/string/str/strcmp.c b/src/string/str/strcmp.c
index 3099d71..cf9426d 100644
--- a/src/string/str/strcmp.c
+++ b/src/string/str/strcmp.c
@@ -26,6 +26,8 @@
* @param b A positive value is returned if this is the lesser.
* @return Zero is returned if `a` and `b` are equal, otherwise,
* see the specifications for `a` and `b`.
+ *
+ * @since Always.
*/
int strcmp(const char* a, const char* b)
{
diff --git a/src/string/str/strcpy.c b/src/string/str/strcpy.c
index 75d88e7..d0fcd76 100644
--- a/src/string/str/strcpy.c
+++ b/src/string/str/strcpy.c
@@ -26,6 +26,8 @@
* @param whither The destination memory segment.
* @param whence The source memory segment.
* @return `whither` is returned.
+ *
+ * @since Always.
*/
char* strcpy(char* restrict whither, const char* restrict whence)
{
diff --git a/src/string/str/strcspn.c b/src/string/str/strcspn.c
index 35b3404..32cb530 100644
--- a/src/string/str/strcspn.c
+++ b/src/string/str/strcspn.c
@@ -27,6 +27,8 @@
* @param string The string.
* @param stopset Bytes disallowed in the substring.
* @return The length of the substring.
+ *
+ * @since Always.
*/
size_t strcspn(const char* string, const char* stopset)
{
diff --git a/src/string/str/strdup.c b/src/string/str/strdup.c
index b7155d7..50ba069 100644
--- a/src/string/str/strdup.c
+++ b/src/string/str/strdup.c
@@ -28,6 +28,8 @@
* and `errno` is set to indicate the error.
*
* @throws ENOMEM The process could not allocate sufficient amount of memory.
+ *
+ * @since Always.
*/
char* strdup(const char* string)
{
diff --git a/src/string/str/strends.c b/src/string/str/strends.c
index 957301c..43dd562 100644
--- a/src/string/str/strends.c
+++ b/src/string/str/strends.c
@@ -29,6 +29,8 @@
* @param desired The desired ending of the string.
* @return The `string`, where `desired` beings if
* `string` ends with `desired`, `NULL` otherwise.
+ *
+ * @since Always.
*/
char* (strends)(const char* string, const char* desired)
{
diff --git a/src/string/str/strlen.c b/src/string/str/strlen.c
index 2092ddc..16b7977 100644
--- a/src/string/str/strlen.c
+++ b/src/string/str/strlen.c
@@ -25,6 +25,8 @@
*
* @param str The string.
* @return The number of bytes before the first NUL byte.
+ *
+ * @since Always.
*/
size_t strlen(const char* str)
{
diff --git a/src/string/str/strmove.c b/src/string/str/strmove.c
index 4bd52f4..892b852 100644
--- a/src/string/str/strmove.c
+++ b/src/string/str/strmove.c
@@ -28,6 +28,8 @@
* @param whither The destination memory segment.
* @param whence The source memory segment.
* @return `whither` is returned.
+ *
+ * @since Always.
*/
char* strmove(char* whither, const char* whence)
{
diff --git a/src/string/str/strpbrk.c b/src/string/str/strpbrk.c
index e479dae..4cfb9ed 100644
--- a/src/string/str/strpbrk.c
+++ b/src/string/str/strpbrk.c
@@ -30,6 +30,8 @@
* @return A pointer to the first occurrence in
* `string` of a byte found in `stopset`.
* `NULL` is returned if none is found.
+ *
+ * @since Always.
*/
char* (strpbrk)(const char* string, const char* stopset)
{
diff --git a/src/string/str/strrchr.c b/src/string/str/strrchr.c
index 716a442..1933765 100644
--- a/src/string/str/strrchr.c
+++ b/src/string/str/strrchr.c
@@ -35,6 +35,8 @@
* @param c The sought after character.
* @return Pointer to the last occurrence of `c`,
* `NULL` if none were found.
+ *
+ * @since Always.
*/
char* (strrchr)(const char* string, int c)
{
diff --git a/src/string/str/strsep.c b/src/string/str/strsep.c
index 9fa0cff..c51e47f 100644
--- a/src/string/str/strsep.c
+++ b/src/string/str/strsep.c
@@ -33,6 +33,8 @@
* `NULL` is returned the search as reached
* the end of the string, and there therefore
* are no more tokens.
+ *
+ * @since Always.
*/
char* strsep(char** restrict string, const char* restrict delimiters)
{
diff --git a/src/string/str/strset.c b/src/string/str/strset.c
index c1eca65..ac1d551 100644
--- a/src/string/str/strset.c
+++ b/src/string/str/strset.c
@@ -28,6 +28,8 @@
* @param str The beginning of the memory segment.
* @param c The character (8 bits wide.)
* @return `str` is returned.
+ *
+ * @since Always.
*/
char* strset(char* str, int c)
{
diff --git a/src/string/str/strspn.c b/src/string/str/strspn.c
index 1b2e034..8a648ff 100644
--- a/src/string/str/strspn.c
+++ b/src/string/str/strspn.c
@@ -27,6 +27,8 @@
* @param string The string.
* @param skipset Bytes allowed in the substring.
* @return The length of the substring.
+ *
+ * @since Always.
*/
size_t strspn(const char* string, const char* skipset)
{
diff --git a/src/string/str/strstarts.c b/src/string/str/strstarts.c
index e132b68..e562f63 100644
--- a/src/string/str/strstarts.c
+++ b/src/string/str/strstarts.c
@@ -29,6 +29,8 @@
* @param desired The desired beginning of the string.
* @return `string` if `string` begins with
* `desired`, `NULL` otherwise.
+ *
+ * @since Always.
*/
char* (strstarts)(const char* string, const char* desired)
{
diff --git a/src/string/str/strstr.c b/src/string/str/strstr.c
index dadbc73..9f88cb4 100644
--- a/src/string/str/strstr.c
+++ b/src/string/str/strstr.c
@@ -27,6 +27,8 @@
* @param needle The sought after substring.
* @return Pointer to the first occurrence of the
* substring, `NULL` if not found.
+ *
+ * @since Always.
*/
char* (strstr)(const char* haystack, const char* needle)
{
diff --git a/src/string/str/strstrcpy.c b/src/string/str/strstrcpy.c
index 9dc9105..bd4c5a6 100644
--- a/src/string/str/strstrcpy.c
+++ b/src/string/str/strstrcpy.c
@@ -34,6 +34,8 @@
* number of copied characters; the address of
* one character passed the last written non-NUL
* character.
+ *
+ * @since Always.
*/
char* strstrcpy(char* restrict whither, const char* restrict whence, const char* restrict str)
{
diff --git a/src/string/str/strstrmove.c b/src/string/str/strstrmove.c
index 19969cd..686b0bd 100644
--- a/src/string/str/strstrmove.c
+++ b/src/string/str/strstrmove.c
@@ -34,6 +34,8 @@
* number of copied characters; the address of
* one character passed the last written non-NUL
* character.
+ *
+ * @since Always.
*/
char* strstrmove(char* whither, const char* whence, const char* restrict str)
{
diff --git a/src/string/str/strtok.c b/src/string/str/strtok.c
index b1b56b9..a856967 100644
--- a/src/string/str/strtok.c
+++ b/src/string/str/strtok.c
@@ -33,6 +33,8 @@
* `NULL` is returned the search as reached
* the end of the string, and there therefore
* are no more tokens.
+ *
+ * @since Always.
*/
char* strtok(char* restrict string, const char* restrict delimiters)
{
diff --git a/src/string/str/strtok_r.c b/src/string/str/strtok_r.c
index 3005ac7..e29e11b 100644
--- a/src/string/str/strtok_r.c
+++ b/src/string/str/strtok_r.c
@@ -37,6 +37,8 @@
* `NULL` is returned the search as reached
* the end of the string, and there therefore
* are no more tokens.
+ *
+ * @since Always.
*/
char* strtok_r(char* restrict string, const char* restrict delimiters,
char** restrict state)
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)
{
diff --git a/src/string/strfry.c b/src/string/strfry.c
index da6d0ac..ac8ef13 100644
--- a/src/string/strfry.c
+++ b/src/string/strfry.c
@@ -30,6 +30,8 @@
*
* @param anagram An anagram of the output, will be modified.
* @retrun The string, which will `== anagram`.
+ *
+ * @since Always.
*/
char* strfry(char* anagram)
{
diff --git a/src/string/strn/stpncpy.c b/src/string/strn/stpncpy.c
index 4290dab..561adc3 100644
--- a/src/string/strn/stpncpy.c
+++ b/src/string/strn/stpncpy.c
@@ -35,6 +35,8 @@
* until this amount of bytes have been written.
* @return `whither` plus the number of written bytes,
* excluding NUL bytes, is returned.
+ *
+ * @since Always.
*/
char* stpncpy(char* restrict whither, const char* restrict whence, size_t maxlen)
{
diff --git a/src/string/strn/stpnmove.c b/src/string/strn/stpnmove.c
index 917b753..e410b49 100644
--- a/src/string/strn/stpnmove.c
+++ b/src/string/strn/stpnmove.c
@@ -36,6 +36,8 @@
* until this amount of bytes have been written.
* @return `whither` plus the number of written bytes,
* excluding NUL bytes, is returned.
+ *
+ * @since Always.
*/
char* stpnmove(char* whither, const char* whence, size_t maxlen)
{
diff --git a/src/string/strn/strcncpy.c b/src/string/strn/strcncpy.c
index 594e7df..fb244b1 100644
--- a/src/string/strn/strcncpy.c
+++ b/src/string/strn/strcncpy.c
@@ -41,6 +41,8 @@
* number of copied characters; the address of
* one character passed the last written non-NUL
* character.
+ *
+ * @since Always.
*/
char* strcncpy(char* restrict whither, const char* restrict whence, int c, size_t maxlen)
{
diff --git a/src/string/strn/strcnmove.c b/src/string/strn/strcnmove.c
index 5fbdf19..f039959 100644
--- a/src/string/strn/strcnmove.c
+++ b/src/string/strn/strcnmove.c
@@ -41,6 +41,8 @@
* number of copied characters; the address of
* one character passed the last written non-NUL
* character.
+ *
+ * @since Always.
*/
char* strcnmove(char* whither, const char* whence, int c, size_t maxlen)
{
diff --git a/src/string/strn/strncasecmp.c b/src/string/strn/strncasecmp.c
index da9a1ba..d5fa666 100644
--- a/src/string/strn/strncasecmp.c
+++ b/src/string/strn/strncasecmp.c
@@ -32,6 +32,8 @@
* @param length The maximum number of characters to compare.
* @return Zero is returned if `a` and `b` are equal, otherwise,
* see the specifications for `a` and `b`.
+ *
+ * @since Always.
*/
int strncasecmp(const char* a, const char* b, size_t length)
{
diff --git a/src/string/strn/strncasestr.c b/src/string/strn/strncasestr.c
index e95dc4b..c74d590 100644
--- a/src/string/strn/strncasestr.c
+++ b/src/string/strn/strncasestr.c
@@ -30,6 +30,8 @@
* @param maxlen The maximum number of character to search.
* @return Pointer to the first occurrence of the
* substring, `NULL` if not found.
+ *
+ * @since Always.
*/
char* (strncasestr)(const char* haystack, const char* needle, size_t maxlen)
{
diff --git a/src/string/strn/strncat.c b/src/string/strn/strncat.c
index e7db0f2..1d6d35b 100644
--- a/src/string/strn/strncat.c
+++ b/src/string/strn/strncat.c
@@ -34,6 +34,8 @@
* shorter, `whither` will be filled with NUL bytes
* until this amount of bytes have been written.
* @return `whither` is returned.
+ *
+ * @since Always.
*/
char* strncat(char* restrict whither, const char* restrict whence, size_t maxlen)
{
diff --git a/src/string/strn/strncmp.c b/src/string/strn/strncmp.c
index 2c078d8..08bf5c1 100644
--- a/src/string/strn/strncmp.c
+++ b/src/string/strn/strncmp.c
@@ -27,6 +27,8 @@
* @param length The maximum number of characters to compare.
* @return Zero is returned if `a` and `b` are equal, otherwise,
* see the specifications for `a` and `b`.
+ *
+ * @since Always.
*/
int strncmp(const char* a, const char* b, size_t length)
{
diff --git a/src/string/strn/strncpy.c b/src/string/strn/strncpy.c
index 3a1e66b..199ca9c 100644
--- a/src/string/strn/strncpy.c
+++ b/src/string/strn/strncpy.c
@@ -32,6 +32,8 @@
* shorter, `whither` will be filled with NUL bytes
* until this amount of bytes have been written.
* @return `whither` is returned.
+ *
+ * @since Always.
*/
char* strncpy(char* restrict whither, const char* restrict whence, size_t maxlen)
{
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)
{
diff --git a/src/string/strn/strnlen.c b/src/string/strn/strnlen.c
index 5473682..2d45e68 100644
--- a/src/string/strn/strnlen.c
+++ b/src/string/strn/strnlen.c
@@ -27,6 +27,8 @@
* @param maxlen The number of bytes to inspect, at most.
* @return The number of bytes before, the first NUL byte.
* `maxlen` if no NUL byte was found.
+ *
+ * @since Always.
*/
size_t strnlen(const char* str, size_t maxlen)
{
diff --git a/src/string/strn/strnmove.c b/src/string/strn/strnmove.c
index 0d22c15..dc159db 100644
--- a/src/string/strn/strnmove.c
+++ b/src/string/strn/strnmove.c
@@ -34,6 +34,8 @@
* shorter, `whither` will be filled with NUL bytes
* until this amount of bytes have been written.
* @return `whither` is returned.
+ *
+ * @since Always.
*/
char* strnmove(char* whither, const char* whence, size_t maxlen)
{
diff --git a/src/string/strn/strnstr.c b/src/string/strn/strnstr.c
index 8db61ac..e581116 100644
--- a/src/string/strn/strnstr.c
+++ b/src/string/strn/strnstr.c
@@ -31,6 +31,8 @@
* @param maxlen The maximum number of character to search.
* @return Pointer to the first occurrence of the
* substring, `NULL` if not found.
+ *
+ * @since Always.
*/
char* (strnstr)(const char* haystack, const char* needle, size_t maxlen)
{
diff --git a/src/string/strn/strstrncpy.c b/src/string/strn/strstrncpy.c
index 43b58fe..822c4c6 100644
--- a/src/string/strn/strstrncpy.c
+++ b/src/string/strn/strstrncpy.c
@@ -41,6 +41,8 @@
* number of copied characters; the address of
* one character passed the last written non-NUL
* character.
+ *
+ * @since Always.
*/
char* strstrncpy(char* restrict whither, const char* restrict whence,
const char* restrict str, size_t maxlen)
diff --git a/src/string/strn/strstrnmove.c b/src/string/strn/strstrnmove.c
index d1c63f9..aadb1a9 100644
--- a/src/string/strn/strstrnmove.c
+++ b/src/string/strn/strstrnmove.c
@@ -41,6 +41,8 @@
* number of copied characters; the address of
* one character passed the last written non-NUL
* character.
+ *
+ * @since Always.
*/
char* strstrnmove(char* whither, const char* whence, const char* restrict str, size_t maxlen)
{