exit() calls clean up codes (flushing the buffer etc) while _exit() does not..
FYI- pls use google for such questions. Regards, Abhishek On Thu, Aug 18, 2011 at 3:26 PM, Amol Sharma <[email protected]> wrote: > anyone ?? > > -- > > > Amol Sharma > Third Year Student > Computer Science and Engineering > MNNIT Allahabad > > > > > On Thu, Aug 18, 2011 at 10:40 AM, Amol Sharma <[email protected]>wrote: > >> what is the difference between exit() and _exit >> >> http://ideone.com/MCzGy >> >> http://ideone.com/SxbwT >> >> when i am using exit() hello world is printed but with _exit() nothing >> gets printed though it ran successfully.....plz explain why is so happening >> ?? >> >> >> -- >> >> >> Amol Sharma >> Third Year Student >> Computer Science and Engineering >> MNNIT Allahabad >> >> >> > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
