Hi , Just adding to the discussion of goto usage , the below helps avoid using goto . do { ... } while (0) ; That is, it allows you to break out of the block early if some condition is met, without defining a label and using goto. Consider: do { if (foo) break; some(); thing(); which(); takes(); forever(); } while (0); Cheers ! ________________________________________________________________________ Yahoo! India Mobile: Download the latest polyphonic ringtones. Go to http://in.mobile.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/