help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please explain diff between K&R, Linux and GNU c-mode styles...


From: Edgar Antonio Luna Díaz
Subject: Re: Please explain diff between K&R, Linux and GNU c-mode styles...
Date: Fri, 25 Oct 2002 15:02:08 -0500
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

seberino@spawar.navy.mil writes:

> I can't find any description of
> difference between GNU, K&R and Linux
> C-mode styles.  Can you please give
> a 1-2 sentence description of main
> diff of each?
This is an off-topic

GNU: indent 4 or 2 spaces. 
K&R: 8

GNU: open bracket is in the next line
K&R: open bracket is in the same line, except to functions
declarations.

Four sentences :P


-- 
Edgar Antonio Luna Díaz - http://www.gnulinux.org.mx
Key Fingerprint=C008 5EAC 5272 AC8C 7589  4821 8B34 6166 8733 8310

Attachment: pgpt9jq2nhpOK.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]