diff options
Diffstat (limited to 'man3/strchr.3')
-rw-r--r-- | man3/strchr.3 | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/man3/strchr.3 b/man3/strchr.3 index 91bd8aa..bff3bd4 100644 --- a/man3/strchr.3 +++ b/man3/strchr.3 @@ -11,7 +11,7 @@ .\" 2006-05-19, Justin Pryzby <pryzbyj@justinpryzby.com> .\" Document strchrnul(3). .\" -.TH strchr 3 2023-07-20 "Linux man-pages 6.05.01" +.TH strchr 3 2023-10-31 "Linux man-pages 6.7" .SH NAME strchr, strrchr, strchrnul \- locate character in string .SH LIBRARY @@ -20,13 +20,13 @@ Standard C library .SH SYNOPSIS .nf .B #include <string.h> -.PP +.P .BI "char *strchr(const char *" s ", int " c ); .BI "char *strrchr(const char *" s ", int " c ); -.PP +.P .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <string.h> -.PP +.P .BI "char *strchrnul(const char *" s ", int " c ); .fi .SH DESCRIPTION @@ -37,7 +37,7 @@ of the character .I c in the string .IR s . -.PP +.P The .BR strrchr () function returns a pointer to the last occurrence @@ -45,7 +45,7 @@ of the character .I c in the string .IR s . -.PP +.P The .BR strchrnul () function is like @@ -58,7 +58,7 @@ then it returns a pointer to the null byte at the end of .IR s , rather than NULL. -.PP +.P Here "character" means "byte"; these functions do not work with wide or multibyte characters. .SH RETURN VALUE @@ -73,7 +73,7 @@ so that if .I c is specified as \[aq]\e0\[aq], these functions return a pointer to the terminator. -.PP +.P The .BR strchrnul () function returns a pointer to the matched character, @@ -98,7 +98,6 @@ T{ .BR strchrnul () T} Thread safety MT-Safe .TE -.sp 1 .SH STANDARDS .TP .BR strchr () |