From 3c0482dac1b7a4c1195beacbef811711392572dd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 23 Oct 2018 21:22:10 +0200 Subject: Add man pages for str[r]n[case]str MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/libsimple_strrstr.3 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'man/libsimple_strrstr.3') diff --git a/man/libsimple_strrstr.3 b/man/libsimple_strrstr.3 index 973f50b..c3c16b7 100644 --- a/man/libsimple_strrstr.3 +++ b/man/libsimple_strrstr.3 @@ -1,4 +1,4 @@ -.TH LIBSIMPLE_STRRSTR 3 2018-10-21 libsimple +.TH LIBSIMPLE_STRRSTR 3 2018-10-23 libsimple .SH NAME libsimple_strrstr \- find a substring in a string .SH SYNOPSIS @@ -29,12 +29,15 @@ The function returns the pointer .I haystack with a maximal offset such that -.I !*r +.I r begins with .IR needle , where .I r is the returned pointer. +If no such offset exists, +.B NULL +is returned. .SH ERRORS The .BR libsimple_strrstr () @@ -71,4 +74,6 @@ None. None. .SH SEE ALSO .BR libsimple_strrcasestr (3), +.BR libsimple_strrnstr (3), +.BR libsimple_memrmem (3), .BR strstr (3) -- cgit v1.2.3-70-g09d2