However, there is one special case, namely functions: they have the opening brace at the beginning of the next line, thus:
int function(int x)
{
body of function
}
Heretic people all over the world have claimed that this inconsistency is ... well ... inconsistent, but all right-thinking people know that:
(a) K&R are _right_ and
(b) K&R are right.
Besides, functions are special anyway (you can't nest them in C).
-- http://www.kernel.org/doc/Documentation/CodingStyle
Quote Last Modifed: 3/2/2010 11:36:33 AM
Database Dated : 7/17/2025 6:02:35 PM
Database Dated : 7/17/2025 6:02:35 PM