]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/str[case]str.3: Tweak after split
authorAlejandro Colomar <alx@kernel.org>
Sat, 16 May 2026 19:30:40 +0000 (21:30 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 16 May 2026 19:33:58 +0000 (21:33 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/strcasestr.3
man/man3/strstr.3

index 9705672bd8a951ae4adff8db86446dccba511dca..d0cac2f1f8cbf4b142dc1648d663132cf365b43a 100644 (file)
@@ -12,15 +12,14 @@ Standard C library
 .RI ( libc ,\~ \-lc )
 .SH SYNOPSIS
 .nf
-.BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
+.BR #define\~_GNU_SOURCE "  // See feature_test_macros(7)"
 .B #include <string.h>
 .P
 .BI "char *strcasestr(const char *" haystack ", const char *" needle );
 .fi
 .SH DESCRIPTION
-The
 .BR strcasestr ()
-function is like
+is like
 .BR strstr (),
 but ignores the case of both arguments.
 .SH RETURN VALUE
index 5d9cbb091db714f0a3540d9efbdb7fabb6349651..3749c3e5124957b4a34cb0e3fdd3f05477780c2f 100644 (file)
@@ -6,7 +6,7 @@
 .\"
 .TH strstr 3 (date) "Linux man-pages (unreleased)"
 .SH NAME
-strstr \- locate a substring
+strstr \- string search substring
 .SH LIBRARY
 Standard C library
 .RI ( libc ,\~ \-lc )
@@ -17,12 +17,12 @@ Standard C library
 .BI "char *strstr(const char *" haystack ", const char *" needle );
 .fi
 .SH DESCRIPTION
-The
 .BR strstr ()
-function finds the first occurrence of the substring
+finds the first occurrence of the substring
 .I needle
 in the string
 .IR haystack .
+.P
 The terminating null bytes (\[aq]\[rs]0\[aq]) are not compared.
 .P
 It is equivalent to