From: Alejandro Colomar Date: Wed, 25 Feb 2026 17:11:30 +0000 (+0100) Subject: man/man3/strchrnul.3: Compare strchrnul(3) to strchr(3) and strnul(3) X-Git-Tag: man-pages-6.18~56^2~16 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=9eeafcc8e528ce61364ebdf46f3fbd5db74cefe3;p=thirdparty%2Fman-pages.git man/man3/strchrnul.3: Compare strchrnul(3) to strchr(3) and strnul(3) Signed-off-by: Alejandro Colomar --- diff --git a/man/man3/strchrnul.3 b/man/man3/strchrnul.3 index debf0520a..de41dab2b 100644 --- a/man/man3/strchrnul.3 +++ b/man/man3/strchrnul.3 @@ -28,6 +28,14 @@ is not found in then it returns a pointer to the null byte at the end of .IR s . +.P +It is equivalent to +.P +.in +4n +.EX +strchr(s, c) ?: strnul(s) +.EE +.in .SH RETURN VALUE The .BR strchrnul ()