How to do a Fatal Exit

Hi All,
    I have written a GTK+ application. When ever there is a Fatal error in my application, I show some dialog and call exit() function. this always calls all global destructors and then terminates the process. where as in windows exit() function terminates the process immedietly. Is there any function similar to windows exit()
Thanks in advance
Harsha Kodnad
Senior Software Engineer
Tally Solutions Pvt. Ltd.

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