mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 7 additions and 3 deletions
|
|
@ -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 a new issue