Pickfire said:
>> Linux kernel style is this:
>>
>>      int main()
>>      {
>>              printf("Hello!\n");
>>
>>              return 0;
>>      }
> 
> Sorry, the functions for linux is different:
> https://www.kernel.org/doc/Documentation/CodingStyle

Nope.

| 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
|       }

-- 
Dmitrij D. Czarkoff

Reply via email to