mirror of https://github.com/mkerrisk/man-pages
index.3: Note that POSIX.1-2008 recommends strchr(3) and strrchr(3) instead
Reported-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
aeb2174ae7
commit
cbf4eee73f
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue