Date: Tue, 28 May 2019 21:07:28 +0200 From: Polytropon <freebsd@edvax.de> To: Serpent7776 <serpent7776@gmail.com> Cc: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>, freebsd-questions@freebsd.org, Mayuresh Kathe <mayuresh@kathe.in> Subject: Re: kernel and most of userland : c : which edition? Message-ID: <20190528210728.b0efe07c.freebsd@edvax.de> In-Reply-To: <20190528204823.7e227123@DaemONX> References: <58c53e2e6bc1942004bc9f7fac7d6f80@kathe.in> <44sgsy8o40.fsf@be-well.ilk.org> <20190528204823.7e227123@DaemONX>
next in thread | previous in thread | raw e-mail | index | archive | help
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@be-well.ilk.org> wrote: > > > Mayuresh Kathe <mayuresh@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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190528210728.b0efe07c.freebsd>