View | Details | Raw Unified | Return to bug 32054 | Differences between
and this patch

Collapse All | Expand All

(-)index.3 (-2 / +4 lines)
Lines 62-70 Link Here
62
is returned.
62
is returned.
63
If
63
If
64
.Fa c
64
.Fa c
65
is '\e0',
65
is
66
.Ql \e0 ,
66
.Fn index
67
.Fn index
67
locates the terminating '\e0'.
68
locates the terminating
69
.Ql \e0 .
68
.Sh SEE ALSO
70
.Sh SEE ALSO
69
.Xr memchr 3 ,
71
.Xr memchr 3 ,
70
.Xr rindex 3 ,
72
.Xr rindex 3 ,
(-)rindex.3 (-3 / +3 lines)
Lines 50-57 Link Here
50
The
50
The
51
.Fn rindex
51
.Fn rindex
52
function
52
function
53
locates the last character
53
locates the last character matching
54
matching
55
.Fa c
54
.Fa c
56
(converted to a
55
(converted to a
57
.Em char )
56
.Em char )
Lines 59-65 Link Here
59
.Fa s .
58
.Fa s .
60
.Sh RETURN VALUES
59
.Sh RETURN VALUES
61
A pointer to the character is returned if it is found; otherwise
60
A pointer to the character is returned if it is found; otherwise
62
NULL is returned.
61
.Dv NULL
62
is returned.
63
If
63
If
64
.Fa c
64
.Fa c
65
is
65
is

Return to bug 32054