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

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

 



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/


[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