Kernel Normal Form: Difference between revisions
Moved page from wikipedia:en:Kernel Normal Form ([[Edithistory:|history]]) |
m Moved page from wikipedia:en:Kernel Normal Form ([[Edithistory:|history]]) |
||
| Line 5: | Line 5: | ||
|help = | |help = | ||
}} | }} | ||
{{PROD2|The only ref I found was from a pay-to-play journal}} | |||
{{Short description|Coding style used in the development of code for BSD operating systems}} | {{Short description|Coding style used in the development of code for BSD operating systems}} | ||
{{one source |date=March 2024}} | {{one source |date=March 2024}} | ||
| Line 24: | Line 25: | ||
==References== | ==References== | ||
{{Reflist}} | {{Reflist}} | ||
:*<small>{{cite journal |last1=Niranjan Kumar |first1=Parvatham |title=Impact of Indentation in Programming |journal=International Journal of Programming Languages and Applications |date=31 October 2013 |volume=3 |issue=4 |pages=21–30 |doi=10.5121/ijpla.2013.3403 |url=https://arxiv.org/abs/1311.3130 |access-date=31 March 2025}}</small> | |||
== External links == | == External links == | ||
Revision as of 17:01, 31 March 2025
Another editor has reviewed this page's proposed deletion, endorses the proposal to delete, and adds:
If you remove the {{proposed deletion/dated}} tag above, please also remove this {{Proposed deletion endorsed}} tag. |
Kernel normal form, or KNF, is the coding style used in the development of code for the BSD operating systems. Based on the original KNF concept from the Computer Systems Research Group, it dictates a programming style to which contributed code should adhere prior to its inclusion into the codebase. KNF started out as a codification of how Ken Thompson and Dennis Ritchie formatted the original UNIX C source code. It describes such things as how to name variables, use indents and the use of ANSI C or K&R C code styles. Each BSD variant has its own KNF rules, which have evolved over time to differ from each other in small ways.
The SunOS kernel and userland also uses a similar indentation style that was derived from AT&T style documents and that is sometimes known as Bill Joy Normal Form. The correctness of the indentation of a list of source files can be verified by a style checker program written by Bill Shannon. This style checker program is called cstyle.[1]
See also
References
- ↑ Schilling, Jörg (2016-07-13). "Schily Tools: cstyle". SourceForge. Retrieved 2018-03-07.
- Niranjan Kumar, Parvatham (31 October 2013). "Impact of Indentation in Programming". International Journal of Programming Languages and Applications. 3 (4): 21–30. doi:10.5121/ijpla.2013.3403. Retrieved 31 March 2025.
External links
- : Kernel source file style guide – Template:Man/FreeBSD
- : Kernel source file style guide – Template:Man/OpenBSD
| This software-engineering-related article is a stub. You can help EverybodyWiki by expanding it. |
This article "Kernel Normal Form" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Kernel Normal Form. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.
