writes:
> Am Freitag, 19. Oktober 2012 23:25:15 UTC+2 schrieb Sjouke Burry:
>> wrote in
>> news:2af0bed0-ff6b-402e-b60c-:
>> > I have a program (written in C) that needs to do some actions after
>> > Suspend/resume or hibernate/resume of the system. Is there a special
>> > signal raised for this purpose? if not, how can my program know about
>> > the suspend?
>> >
>> > Juergen
>> >
>> By watching the clock??
>
> Yes, thats what I am doing now. Not very elegant.
>
> By the way, the system is linux.
>
> Any other suggestion?
Yes, ask in comp.unix.programmer. The folks who know about POSIX
systems hang out there.
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
Will write code for food.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"