Describe these as obsolete.

This commit is contained in:
dholland 2012-05-05 21:14:55 +00:00
parent 57ca898c48
commit aa368b88e1
2 changed files with 12 additions and 2 deletions

View File

@ -28,7 +28,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)index.3 8.1 (Berkeley) 6/4/93
.\" $NetBSD: index.3,v 1.13 2010/04/29 06:54:26 jruoho Exp $
.\" $NetBSD: index.3,v 1.14 2012/05/05 21:14:55 dholland Exp $
.\"
.Dd April 29, 2010
.Dt INDEX 3
@ -52,6 +52,11 @@ locates the first character matching
.Em char )
in the nul-terminated string
.Fa s .
.Pp
This function is obsolete.
The equivalent function
.Xr strchr 3
should be used instead.
.Sh RETURN VALUES
A pointer to the character is returned if it is found; otherwise
.Dv NULL

View File

@ -28,7 +28,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)rindex.3 8.1 (Berkeley) 6/4/93
.\" $NetBSD: rindex.3,v 1.12 2010/04/29 06:54:26 jruoho Exp $
.\" $NetBSD: rindex.3,v 1.13 2012/05/05 21:14:55 dholland Exp $
.\"
.Dd April 29, 2010
.Dt RINDEX 3
@ -53,6 +53,11 @@ matching
.Em char )
in the nul-terminated string
.Fa s .
.Pp
This function is obsolete.
The equivalent function
.Xr strrchr 3
should be used instead.
.Sh RETURN VALUES
A pointer to the character is returned if it is found; otherwise
.Dv NULL