diff options
Diffstat (limited to 'lib/libc/string/strstr.3')
-rw-r--r-- | lib/libc/string/strstr.3 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libc/string/strstr.3 b/lib/libc/string/strstr.3 index 74ebdff..376def6 100644 --- a/lib/libc/string/strstr.3 +++ b/lib/libc/string/strstr.3 @@ -49,6 +49,10 @@ .Fn strcasestr "const char *big" "const char *little" .Ft char * .Fn strnstr "const char *big" "const char *little" "size_t len" +.In string.h +.In xlocale.h +.Ft char * +.Fn strcasestr_l "const char *big" "const char *little" "locale_t loc" .Sh DESCRIPTION The .Fn strstr @@ -65,6 +69,12 @@ function is similar to but ignores the case of both strings. .Pp The +.Fn strcasestr_l +function does the same as +.Fn strcasestr +but takes an explicit locale rather than using the current locale. +.Pp +The .Fn strnstr function locates the first occurrence of the null-terminated string |