aboutsummaryrefslogtreecommitdiffstats
path: root/src/string/str/strstr.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/str/strstr.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 '')
-rw-r--r--src/string/str/strstr.c2
1 files changed, 2 insertions, 0 deletions
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)
{