.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\" SUCH DAMAGE.
.\"
.\" @(#)index.3 8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/string/index.3,v 1.11 2003/09/08 19:57:15 ru Exp $
+.\" $FreeBSD: src/lib/libc/string/index.3,v 1.12 2007/01/09 00:28:12 imp Exp $
.\"
.Dd June 4, 1993
.Dt INDEX 3
.Vt char )
in the string pointed to by
.Fa s .
-The terminating null character is considered part of the string;
-therefore if
+The terminating null character is considered to be part of the string;
+therefore, if
.Fa c
is
.Ql \e0 ,
.Fn rindex
function is identical to
.Fn index ,
-except it locates the last occurrence of
+except that it locates the last occurrence of
.Fa c .
.Sh RETURN VALUES
The functions