Re: FAQ: #define ... do { ... } while(0)

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

 



Please, let us not be mailing-list Nazis. It was a further explanation
of something quite pertinent to the kernel coding style. The kernel list
proper advises to just ignore off-topic posts, and even now there have
been 3 follow ups to that ONE offending post that have been equally
off-topic.

Bohdan Vlasyuk wrote:
> 
> On Mon, Sep 24, 2001 at 11:18:49PM +0200, Per Persson wrote:
> 
> > Comments on question "Why do a lot of #defines in the kernel use do
> > { ... } while(0)?" in the FAQ:
> It is described in any C-language FAQ, and has little to do with
> kernel itself, so, probably, there's not much sence in describing it..
> 
> --
> GOD BLUSH AMERICA
> -
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> IRC Channel:   irc.openprojects.net / #kernelnewbies
> Web Page:      http://www.kernelnewbies.org/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux