*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> dopowerhooks (9)              
Title
Content
Arch
Section
 

DOPOWERHOOKS(9)

Contents


NAME    [Toc]    [Back]

     dopowerhooks - run all power hooks

SYNOPSIS    [Toc]    [Back]

     void
     dopowerhooks(int why);

DESCRIPTION    [Toc]    [Back]

     The dopowerhooks() function invokes all power hooks established using the
     powerhook_establish(9) function.  When power is disappearing the power
     hooks are called in reverse order, i.e., the power hook established last
     will be called first.  When power is restored they are called normal
     order.

     This function is called from the apm(4) driver when a power change is
     detected.

SEE ALSO    [Toc]    [Back]

      
      
     powerhook_establish(9)

BSD                            December 3, 1999                            BSD
[ Back ]
 Similar pages
Name OS Title
power_onoff HP-UX timed, automatic system power on, and power off
power OpenBSD power button and power fail support
dostartuphooks OpenBSD run all startup hooks
doshutdownhooks OpenBSD run all shutdown hooks
dohooks OpenBSD run all hooks in a list
doshutdownhooks NetBSD run all shutdown hooks
res_send_setqhook IRIX interface to resolver hooks
slocal Tru64 MH receive-mail hooks
set_menu_term FreeBSD set hooks for automatic invocation by applications
set_menu_init FreeBSD set hooks for automatic invocation by applications
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service