Kernel Normal Form

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.

Famous quotes containing the words kernel, normal and/or form:

    “We should never stand upon ceremony with sincerity. We should never cheat and insult and banish one another by our meanness, if there were present the kernel of worth and friendliness. We should not meet thus in haste.”
    —Henry David Thoreau (1817–1862)

    “I shouldn’t say I’m looking forward to leading a normal life, because I don’t know what normal is. This has been normal for me.”
    —Martina Navratilova (b. 1956)

    “and so this tree—
    Oh, that such our death may be!—
    Died in sleep, and felt no pain,
    To live in happier form again:
    From which, beneath Heaven’s fairest star,
    The artist wrought this loved guitar;”
    —Percy Bysshe Shelley (1792–1822)