aboutsummaryrefslogtreecommitdiffstats
path: root/man/libsimple_strrstr.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-10-23 21:22:10 +0200
committerMattias Andrée <maandree@kth.se>2018-10-23 21:22:20 +0200
commit3c0482dac1b7a4c1195beacbef811711392572dd (patch)
tree9836c50d53d39f1d203dba3b3dcd3ca3bd175539 /man/libsimple_strrstr.3
parentAdd man pages for strn[case]cmpnul (diff)
downloadlibsimple-3c0482dac1b7a4c1195beacbef811711392572dd.tar.gz
libsimple-3c0482dac1b7a4c1195beacbef811711392572dd.tar.bz2
libsimple-3c0482dac1b7a4c1195beacbef811711392572dd.tar.xz
Add man pages for str[r]n[case]str
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/libsimple_strrstr.3')
-rw-r--r--man/libsimple_strrstr.39
1 files changed, 7 insertions, 2 deletions
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)