kernel and most of userland : c : which edition?
Polytropon
freebsd at edvax.de
Tue May 28 19:13:03 UTC 2019
On Tue, 28 May 2019 20:48:23 +0200, Serpent7776 wrote:
> 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, "man 9 style" is correct: "FreeBSD Kernel Developer's Manual",
"style -- kernel source file style guide". The style is followed
in many parts of the userland, but especially contributed code
from other platforms and vendors doesn't always follow the style
recommendations.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list