Well i dont know about ur case but  _exit() is use to exit from current
process only like to exit child in fork()
and exit() is use to exit whole process tree

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.
>



-- 
**Regards
SAGAR PAREEK
COMPUTER SCIENCE AND ENGINEERING
NIT 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.

Reply via email to