is returned.
If
.Fa c
is '\e0',
is
.Ql \e0 ,
.Fn index
locates the terminating '\e0'.
locates the terminating
.Ql \e0 .
.Sh SEE ALSO
.Xr memchr 3 ,
.Xr rindex 3 ,
The
.Fn rindex
function
locates the last character
locates the last character matching
matching
(converted to a
.Em char )
.Fa s .
.Sh RETURN VALUES
A pointer to the character is returned if it is found; otherwise
NULL is returned.
.Dv NULL