Sunday, February 22, 2009

Compilation without words

Click on the image to have a better view.

Friday, February 13, 2009

Lindent

Lindent is a script that changes the appearance of a C program according to linux kernel coding style. It can be found in linux/scripts/ and it makes use of indent.(see indent(1) manual page).

For a debian based distribution running Lindent is straightforward:

#install indent
apt-get install indent
#run Lindent over a file
linux/scripts/Lindent file.c

The
preferred coding style used in linux kernel is described in linux/Documentation/CodingStyle.