[gameprogrammer] detecting termination signal in win32 and linux

I need to detect when the program receives a termination signal to save player data and send a bye packet. But I need some portable way to do it, is this possible or I need to implement specific code for each OS?


-- http://dsgp.blogspot.com | Linux, programación, juegos Have no place I can be since I found Serenity But you can’t take the sky from me


______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com



--------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: