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.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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