summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/rindex.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/rindex.3')
-rw-r--r--src/lib/libc/string/rindex.310
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libc/string/rindex.3 b/src/lib/libc/string/rindex.3
index db7f8e1cd8..d4bcbbea54 100644
--- a/src/lib/libc/string/rindex.3
+++ b/src/lib/libc/string/rindex.3
@@ -31,7 +31,7 @@
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE. 32.\" SUCH DAMAGE.
33.\" 33.\"
34.\" $OpenBSD: rindex.3,v 1.3 1997/12/30 01:09:49 deraadt Exp $ 34.\" $OpenBSD: rindex.3,v 1.4 1999/06/29 18:01:33 aaron Exp $
35.\" 35.\"
36.Dd April 19, 1991 36.Dd April 19, 1991
37.Dt RINDEX 3 37.Dt RINDEX 3
@@ -51,10 +51,12 @@ locates the last character
51matching 51matching
52.Fa c 52.Fa c
53(converted to a 53(converted to a
54.Em char ) 54.Li char )
55in the null-terminated string 55in the null-terminated string
56.Fa s . 56.Fa s .
57If the character c is found, a pointer to it is returned; otherwise NULL is returned. 57If the character c is found, a pointer to it is returned; otherwise,
58.Dv NULL
59is returned.
58If 60If
59.Fa c 61.Fa c
60is 62is
@@ -76,5 +78,5 @@ locates the terminating
76.Sh HISTORY 78.Sh HISTORY
77A 79A
78.Fn rindex 80.Fn rindex
79function appeared in 81function appeared in
80.At v6 . 82.At v6 .