Clarify the sizeof(var) rule. This is the result of the consensus in
arch@ between myself, bde and markm. I kept the parts that all of us agreed to, and omitted some more extensive text that I'd originally wanted.
This commit is contained in:
parent
e3b9bf7198
commit
b294c6a39a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100649
@ -520,6 +520,11 @@ are not followed by a space.
|
||||
Note that
|
||||
.Xr indent 1
|
||||
does not understand this rule.
|
||||
.Ic sizeof Ns 's
|
||||
are written with parenthesis always.
|
||||
The redundant parenthesis rules do not apply to
|
||||
.Ic sizeof(var)
|
||||
instances.
|
||||
.Pp
|
||||
.Dv NULL
|
||||
is the preferred null pointer constant.
|
||||
|
Loading…
Reference in New Issue
Block a user