1 --- _SB/Libc/string/FreeBSD/strstr.3 2003-05-20 15:23:55.000000000 -0700
2 +++ _SB/Libc/string/FreeBSD/strstr.3.edit 2006-06-28 16:55:53.000000000 -0700
7 -.Nm strstr , strcasestr , strnstr
12 .Nd locate a substring in a string
18 -.Fn strstr "const char *big" "const char *little"
24 -.Fn strcasestr "const char *big" "const char *little"
31 -.Fn strnstr "const char *big" "const char *little" "size_t len"
48 locates the first occurrence of the null-terminated string
51 in the null-terminated string
60 locates the first occurrence of the null-terminated string
69 characters are searched.
70 Characters that appear after a
75 specific API, it should only be used when portability is not a concern.
79 +function uses the current locale, the
81 +function may be passed a locale directly. See
83 +for more information.
100 otherwise a pointer to the first character of the first occurrence of
105 The following sets the pointer