mirror of https://github.com/mkerrisk/man-pages
ubstitute `//0' by '\\0'.
This commit is contained in:
parent
2b0fa18232
commit
c401054d5c
|
@ -37,7 +37,7 @@ stpcpy \- copy a string returning a pointer to its end
|
|||
The
|
||||
.BR stpcpy ()
|
||||
function copies the string pointed to by \fIsrc\fP
|
||||
(including the terminating `\\0' character) to the array pointed to by
|
||||
(including the terminating '\\0' character) to the array pointed to by
|
||||
\fIdest\fP.
|
||||
The strings may not overlap, and the destination string
|
||||
\fIdest\fP must be large enough to receive the copy.
|
||||
|
|
|
@ -38,7 +38,7 @@ strlen \- calculate the length of a string
|
|||
The
|
||||
.BR strlen ()
|
||||
function calculates the length of the string
|
||||
\fIs\fP, not including the terminating `\\0' character.
|
||||
\fIs\fP, not including the terminating '\\0' character.
|
||||
.SH "RETURN VALUE"
|
||||
The
|
||||
.BR strlen ()
|
||||
|
|
|
@ -45,7 +45,7 @@ and does nothing else.
|
|||
Otherwise, this function finds the first token
|
||||
in the string *\fIstringp\fP, where tokens
|
||||
are delimited by symbols in the string \fIdelim\fP.
|
||||
This token is terminated with a `\\0' character
|
||||
This token is terminated with a '\\0' character
|
||||
(by overwriting the delimiter)
|
||||
and *\fIstringp\fP is updated to point past the token.
|
||||
In case no delimiter was found, the token is taken to be
|
||||
|
|
|
@ -48,7 +48,7 @@ The
|
|||
.BR strstr ()
|
||||
function finds the first occurrence of the substring
|
||||
\fIneedle\fP in the string \fIhaystack\fP.
|
||||
The terminating \`\\0' characters are not compared.
|
||||
The terminating '\\0' characters are not compared.
|
||||
|
||||
The
|
||||
.BR strcasestr ()
|
||||
|
|
|
@ -73,8 +73,8 @@ all,
|
|||
.BR strtol ()
|
||||
stores the original value of \fInptr\fP in
|
||||
\fI*endptr\fP (and returns 0).
|
||||
In particular, if \fI*nptr\fP is not `\\0' but \fI**endptr\fP
|
||||
is `\\0' on return, the entire string is valid.
|
||||
In particular, if \fI*nptr\fP is not '\\0' but \fI**endptr\fP
|
||||
is '\\0' on return, the entire string is valid.
|
||||
.PP
|
||||
The
|
||||
.BR strtoll ()
|
||||
|
|
|
@ -75,8 +75,8 @@ all,
|
|||
.BR strtoul ()
|
||||
stores the original value of \fInptr\fP in
|
||||
\fI*endptr\fP (and returns 0).
|
||||
In particular, if \fI*nptr\fP is not `\\0' but \fI**endptr\fP
|
||||
is `\\0' on return, the entire string is valid.
|
||||
In particular, if \fI*nptr\fP is not '\\0' but \fI**endptr\fP
|
||||
is '\\0' on return, the entire string is valid.
|
||||
.PP
|
||||
The
|
||||
.BR strtoull ()
|
||||
|
|
|
@ -56,7 +56,7 @@ The
|
|||
.BR strxfrm ()
|
||||
function returns the number of bytes required to
|
||||
store the transformed string in \fIdest\fP excluding the terminating
|
||||
`\\0' character.
|
||||
'\\0' character.
|
||||
If the value returned is \fIn\fP or more, the
|
||||
contents of \fIdest\fP are indeterminate.
|
||||
.SH "CONFORMING TO"
|
||||
|
|
Loading…
Reference in New Issue