Re: reason for code like this: "do { something } while (0)"

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

 



What is the reason to use do while loop if it is only meant to be
executed just once? Why not a simple:

look at kernelnewbies faq/google/search the archives for this list.

anupam

--
In the beginning was the lambda, and the lambda was with Emacs, and
Emacs was the lambda.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux