Loading...
--- Libc/Libc-1725.40.4/string/FreeBSD/strstr.3
+++ Libc/Libc-1082.50.1/string/FreeBSD/strstr.3
@@ -44,23 +44,23 @@
.Sh SYNOPSIS
.In string.h
.Ft char *
-.Fn strstr "const char *haystack" "const char *needle"
+.Fn strstr "const char *big" "const char *little"
.Ft char *
-.Fn strcasestr "const char *haystack" "const char *needle"
+.Fn strcasestr "const char *big" "const char *little"
.Ft char *
-.Fn strnstr "const char *haystack" "const char *needle" "size_t len"
+.Fn strnstr "const char *big" "const char *little" "size_t len"
.In string.h
.In xlocale.h
.Ft char *
-.Fn strcasestr_l "const char *haystack" "const char *needle" "locale_t loc"
+.Fn strcasestr_l "const char *big" "const char *little" "locale_t loc"
.Sh DESCRIPTION
The
.Fn strstr
function
locates the first occurrence of the null-terminated string
-.Fa needle
+.Fa little
in the null-terminated string
-.Fa haystack .
+.Fa big .
.Pp
The
.Fn strcasestr
@@ -72,9 +72,9 @@
.Fn strnstr
function
locates the first occurrence of the null-terminated string
-.Fa needle
+.Fa little
in the string
-.Fa haystack ,
+.Fa big ,
where not more than
.Fa len
characters are searched.
@@ -96,18 +96,18 @@
for more information.
.Sh RETURN VALUES
If
-.Fa needle
+.Fa little
is an empty string,
-.Fa haystack
+.Fa big
is returned;
if
-.Fa needle
+.Fa little
occurs nowhere in
-.Fa haystack ,
+.Fa big ,
.Dv NULL
is returned;
otherwise a pointer to the first character of the first occurrence of
-.Fa needle
+.Fa little
is returned.
.Sh EXAMPLES
The following sets the pointer