kernel and most of userland : c : which edition?
freebsd-questions-local at be-well.ilk.org
Tue May 28 19:13:32 UTC 2019
Serpent7776 <serpent7776 at gmail.com> writes:
> On Tue, 28 May 2019 13:50:39 -0400
> Lowell Gilbert <freebsd-questions-local at be-well.ilk.org> wrote:
>> Mayuresh Kathe <mayuresh at kathe.in> writes:
>> > which edition of c is-being/has-been used to write the majority of the
>> > kernel and userland?
>> > illumos people are mandating c99 for all new code and have heard about
>> > them taking the efforts to migrate old code to c99 too.
>> > is there any such movement in coding standards happening in
>> > freebsd-land too?
>> See "man 7 style" but the basic gist is that c99 is expected for new
>> code and that updating older code to c99 is typical practice when
>> changing that code for other reasons.
> $ man 7 style
> No manual entry for style
> Did you mean `man 9 style`?
Yes, I did. In fact, I *should* have just said "man style" because there
isn't any other.
More information about the freebsd-questions