Unix/Linux Go Back    

NetBSD 6.1.5 - man page for dopowerhooks (netbsd section 9)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

DOPOWERHOOKS(9) 		  BSD Kernel Developer's Manual 		  DOPOWERHOOKS(9)

     dopowerhooks -- run all power hooks

     dopowerhooks(int why);

     The dopowerhooks routine is deprecated. Use pmf_system_suspend(9) instead.

     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.


BSD					February 11, 2010				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 08:23 PM.