linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marco Bambini <marco@vampiresoft.com>
To: linux-c-programming@vger.kernel.org
Subject: Catch "WakeUp" from "Sleep"
Date: Sat, 17 Mar 2007 11:10:39 +0100	[thread overview]
Message-ID: <96FAB187-7AE8-4750-9A76-D2963BA290FC@vampiresoft.com> (raw)

I need to be notified inside my console app when the computer  
"WakeUp" from "Sleep".
Please note that I cannot run my process as run and I do not need to  
write anything, I just need to be notified in some way.
What is the right approach?
What are the right routines/headers to examine?

Thanks  a lot for you help,
Marco Bambini


                 reply	other threads:[~2007-03-17 10:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=96FAB187-7AE8-4750-9A76-D2963BA290FC@vampiresoft.com \
    --to=marco@vampiresoft.com \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).