Loading...
string/rindex.3 Libc-262 Libc-498
--- Libc/Libc-262/string/rindex.3
+++ Libc/Libc-498/string/rindex.3
@@ -32,7 +32,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)rindex.3	8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/string/rindex.3,v 1.6 2001/10/01 16:09:00 ru Exp $
+.\" $FreeBSD: src/lib/libc/string/rindex.3,v 1.8 2002/12/18 13:33:03 ru Exp $
 .\"
 .Dd June 4, 1993
 .Dt RINDEX 3
@@ -43,7 +43,7 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In string.h
+.In strings.h
 .Ft char *
 .Fn rindex "const char *s" "int c"
 .Sh DESCRIPTION
@@ -54,12 +54,12 @@
 matching
 .Fa c
 (converted to a
-.Em char )
+.Vt char )
 in the null-terminated string
 .Fa s .
 .Sh RETURN VALUES
-A pointer to the character is returned if it is found; otherwise
-NULL is returned.
+A pointer to the character is returned if it is found;
+otherwise, NULL is returned.
 If
 .Fa c
 is
@@ -83,3 +83,10 @@
 .Fn rindex
 function appeared in
 .At v6 .
+Its prototype existed previously in
+.Aq Pa string.h
+before it was moved to
+.Aq Pa strings.h
+for
+.St -p1003.1-2001
+compliance.