mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Use .Sq Li \&\e0 rather than NUL to describe the character with no bits
set, as suggested by Garrett Wollman. This is more consistant with how things like strncpy are done, as well as harder to confuse NUL and NULL.
This commit is contained in:
parent
8f86703906
commit
59e5dcc34f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23343
@ -72,13 +72,17 @@ could have been written into
|
||||
.Fa buf
|
||||
then
|
||||
.Fa bug
|
||||
will not be NUL terminated.
|
||||
will not be
|
||||
.Sq Li \&\e0
|
||||
terminated.
|
||||
If the total number of resulting characters, including the terminating
|
||||
NUL character, is not more than
|
||||
.Sq Li \&\e0
|
||||
character, is not more than
|
||||
.Fa maxsize ,
|
||||
.Fn strftime
|
||||
returns the number of characters in the array, not counting the
|
||||
terminating NUL.
|
||||
terminating
|
||||
.Sq Li \&\e0 .
|
||||
Otherwise, zero is returned.
|
||||
.Pp
|
||||
Each conversion specification is replaced by the characters as
|
||||
|
Loading…
Reference in New Issue
Block a user