mirror of https://github.com/mkerrisk/man-pages
strfromd.3: wfix (null character --> null byte)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
feb9ef3848
commit
c5c0846dbe
|
@ -71,7 +71,7 @@ At most
|
||||||
characters are stored into
|
characters are stored into
|
||||||
.IR str .
|
.IR str .
|
||||||
.PP
|
.PP
|
||||||
The terminating null character ('\e0') is written if and only if
|
The terminating null byte ('\e0') is written if and only if
|
||||||
.I n
|
.I n
|
||||||
is sufficiently large, otherwise the written string is truncated at
|
is sufficiently large, otherwise the written string is truncated at
|
||||||
.I n
|
.I n
|
||||||
|
@ -162,7 +162,7 @@ functions return the number of characters that would have been written in
|
||||||
if
|
if
|
||||||
.I n
|
.I n
|
||||||
had enough space,
|
had enough space,
|
||||||
not counting the terminating null character.
|
not counting the terminating null byte.
|
||||||
Thus, a return value of
|
Thus, a return value of
|
||||||
.I n
|
.I n
|
||||||
or greater means that the output was truncated.
|
or greater means that the output was truncated.
|
||||||
|
|
Loading…
Reference in New Issue