Re: [hackers] [st] Use BSD-style function notation || FRIGN

From: Pickfire <pickfire_AT_riseup.net>
Date: Sun, 12 Jul 2015 08:31:14 +0800

On Sat, Jul 11, 2015 at 06:29:38PM +0200, Christoph Lohmann wrote:
>On Sat, 11 Jul 2015 18:29:38 +0200 Pickfire <pickfire_AT_riseup.net> wrote:
>> I think linux-style is better:
>>
>> int main() {
>> printf("Hello!");
>> }
>
>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

-- 
 _____________________________________
< Do what you like, like what you do. >
 -------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
Received on Sun Jul 12 2015 - 02:31:14 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 12 2015 - 02:36:11 CEST