mirror of https://github.com/mkerrisk/man-pages
strchr.3: srcfix: use . mark-up rather than \fI.\fP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9640b1b311
commit
dc6a909bc0
|
@ -48,20 +48,31 @@ strchr, strrchr, strchrnul \- locate character in string
|
|||
The
|
||||
.BR strchr ()
|
||||
function returns a pointer to the first occurrence
|
||||
of the character \fIc\fP in the string \fIs\fP.
|
||||
of the character
|
||||
.I c
|
||||
in the string
|
||||
.IR s .
|
||||
.PP
|
||||
The
|
||||
.BR strrchr ()
|
||||
function returns a pointer to the last occurrence
|
||||
of the character \fIc\fP in the string \fIs\fP.
|
||||
of the character
|
||||
.I c
|
||||
in the string
|
||||
.IR s .
|
||||
.PP
|
||||
The
|
||||
.BR strchrnul ()
|
||||
function is like
|
||||
.BR strchr ()
|
||||
except that if \fIc\fP is not found in \fIs\fP,
|
||||
except that if
|
||||
.I c
|
||||
is not found in
|
||||
.IR s ,
|
||||
then it returns a pointer to the null byte
|
||||
at the end of \fIs\fP, rather than NULL.
|
||||
at the end of
|
||||
.IR s ,
|
||||
rather than NULL.
|
||||
.PP
|
||||
Here "character" means "byte"; these functions do not work with
|
||||
wide or multibyte characters.
|
||||
|
|
Loading…
Reference in New Issue