KNF

From NetBSD Wiki

Jump to: navigation, search

If you read the NetBSD source code or follow discussions on the NetBSD Mailing List, you will notice that the word KNF is used regulary. If you always wondered what it means, here is the answer:

KNF means Kernel Normal Form.

The KNF is the normal form used in the development of code for the NetBSD operating systems. Based on the original KNF concept from the Computer Systems Research Group, it dictates a code style to which contributed code should adhere prior to its inclusion into the codebase. It describes such things as how to name variables, use indents and the use of ANSI C or K&R C code styles.

You can find this document on the web: NetBSD styles Document, or in /usr/share/misc/style on any NetBSD installation.

Retrieved from "http://wiki.netbsd.se/KNF"
Personal tools