catch logout/SIGHUP
- From: Jochen Baier <Jochen Baier stud uni-karlsruhe de>
- To: gtk-list gnome org
- Subject: catch logout/SIGHUP
- Date: Thu, 21 Jul 2005 03:39:46 +0200
hi,
i wonder what is the right procedure to do some cleanup if the user
logout from session
and the program is still alive. ("Save file before exit" etc)
I thought "system (SIGHUP,...)" is the right way, but i didnt find this
function in code from gedit, anjuta etc.. so what is the right way to
do this ?
thanks jochen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]