From b28c5c5701f62b2b15a6d6364416d9a04210bfc0 Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 25 Jul 2002 00:30:24 +0000 Subject: 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. --- share/man/man9/style.9 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'share') diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 43d8e38..a548288 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -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. -- cgit v1.1