]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
index.3: Note that POSIX.1-2008 recommends strchr(3) and strrchr(3) instead
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 14 Mar 2009 18:38:08 +0000 (07:38 +1300)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 14 Mar 2009 19:04:59 +0000 (08:04 +1300)
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/index.3

index 64db1445f8a6a8e54c9abc7fae92a582108d3357..9e31edbe3d011adb47d877e6adf4ab884b894f07 100644 (file)
@@ -26,7 +26,7 @@
 .\"     386BSD man pages
 .\" Modified Mon Apr 12 12:54:34 1993, David Metcalfe
 .\" Modified Sat Jul 24 19:13:52 1993, Rik Faith (faith@cs.unc.edu)
-.TH INDEX 3  2008-08-06 "GNU" "Linux Programmer's Manual"
+.TH INDEX 3 2009-03-15 "GNU" "Linux Programmer's Manual"
 .SH NAME
 index, rindex \- locate character in string
 .SH SYNOPSIS
@@ -62,7 +62,12 @@ the matched character or NULL if the character is not found.
 POSIX.1-2008 removes the specifications of
 .BR index ()
 and
-.BR rindex ().
+.BR rindex (),
+recommending
+.BR strchr (3)
+and
+.BR strrchr (3)
+instead.
 .SH "SEE ALSO"
 .BR memchr (3),
 .BR strchr (3),