Messages in this thread | | | Date | Thu, 8 Jul 2004 08:58:18 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCH] Use NULL instead of integer 0 in security/selinux/ |
| |
On Thu, 8 Jul 2004, Miles Bader wrote: > > > > No it's not. > > I don't have a copy of the standard handy
I have one. It's in my head. It's called the Linux Kernel C standard. Some of it is documented in CodinggStyle, others is just codified in existing practice.
> but google shows this snippet on the info-minux mailing list: > > From ANSI X3.159-1989 3.2.2.3:
That's some totally irrelevant standard that only acts as a rough guideline. It dosn't know about inline assembly, and it doesn't know about coding standards, and it allows the most atrocious code. There's even a contest in making such code - it's called the Obfuscated C Contest, and it actually encourages using strict ANSI rules.
Me, I don't accept the kind of entries the OCC accepts.
Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |