|
-
July 20th, 2006, 11:42 AM
#1
OSX / BSD / Linux - Knowing when a user loggs out
I have a generic C++ program that normally constantly runs. However, I want the program to stop when the current user logs out.
This program is running on OS X, which is very close to BSD and is similar to Linux. Is there some event or signal I can listen for to know when the current user is logging out so my program can exit?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|