5.20 Code Layout
5.20 Code Layout
You may want to look at Linux Torvalds coding standards for the kernel. I have converted them to
HTML
.
Braces
Kernel Style
(Straker p89)
if( a>b ){ a++; }
Allman Style
(Straker p89)
if( a>b ) { a++; }
Whitesmiths Style
(Straker p90)
if( a>b ) { a++; }
Instructor:
ltaber@pima.edu
** My new
Home
at
GeoApps
in
Tucson
** The
Pima College
Site
5.20 Code Layout