summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2011-03-20 20:53:55 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2011-03-20 20:53:55 +0000
commit2908f971d7acb22137701950d86fab65ffb59dbb (patch)
treed88bb2da95efdfed947691ecaf8c21a252d253ce /lib/libc/string
parentd413a349e5c890d471a1529a34d8aa6e94a75407 (diff)
Notes
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/index.315
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/libc/string/index.3 b/lib/libc/string/index.3
index 34bd9d699964..25f6f65ac493 100644
--- a/lib/libc/string/index.3
+++ b/lib/libc/string/index.3
@@ -30,7 +30,7 @@
.\" @(#)index.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd March 20, 2011
.Dt INDEX 3
.Os
.Sh NAME
@@ -45,6 +45,17 @@
.Ft "char *"
.Fn rindex "const char *s" "int c"
.Sh DESCRIPTION
+.Bf -symbolic
+The
+.Fn index
+and
+.Fn rindex
+functions have been deprecated in favor of
+.Xr strchr 3
+and
+.Xr strrchr 3 .
+.Ef
+.Pp
The
.Fn index
function
@@ -100,3 +111,5 @@ before they were moved to
for
.St -p1003.1-2001
compliance.
+The functions are not specified by
+.St -p1003.1-2008 .