aboutsummaryrefslogtreecommitdiff
path: root/string/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'string/string.h')
-rw-r--r--string/string.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/string/string.h b/string/string.h
index e95d7ca..8bf4a87 100644
--- a/string/string.h
+++ b/string/string.h
@@ -154,6 +154,15 @@ extern size_t strspn __P ((__const char *__s, __const char *__accept));
extern char *strpbrk __P ((__const char *__s, __const char *__accept));
/* Find the first occurrence of NEEDLE in HAYSTACK. */
extern char *strstr __P ((__const char *__haystack, __const char *__needle));
+
+#ifdef __USE_GNU
+/* Similar to `strstr' but this function ignores the case of both strings. */
+extern char *__strcasestr __P ((__const char *__haystack,
+ __const char *__needle));
+extern char *strcasestr __P ((__const char *__haystack,
+ __const char *__needle));
+#endif
+
/* Divide S into tokens separated by characters in DELIM. */
extern char *strtok __P ((char *__restrict __s,
__const char *__restrict __delim));