tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/share/misc
> On Mar 30, 2021, at 8:03 PM, Christos Zoulas <christos%zoulas.com@localhost> wrote:
>
> There are 3 x 'sizeof(' in the tree compared to 'sizeof ' in '*.c' and
> I am counting 'sizeof (' as 'sizeof ':
>
> 191337 'sizeof('
> 63508 'sizeof '
>
> I think that it is better to bless the prevailing majority as the rule,
> but we should let others express their opinions first.
"sizeof(...)" is definitely my preference, in no small part for symmetry with "offsetof(...)" (or, at least, the historical definition thereof before the compiler had a built-in...)
-- thorpej
Home |
Main Index |
Thread Index |
Old Index