netbsd man page for dopowerhooks

Query: dopowerhooks

OS: netbsd

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

NAME
dopowerhooks -- run all power hooks
SYNOPSIS
void dopowerhooks(int why);
DESCRIPTION
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.
SEE ALSO
powerhook_establish(9)
BSD
February 11, 2010 BSD
Related Man Pages
power(9e) - opensolaris
power(9e) - centos
power(9e) - mojave
power(9e) - bsd
power(9e) - v7
Similar Topics in the Unix Linux Community
How to install PGX32 on Sparc 10 Ultra?
NetBSD 6.1.2: apm and admd not found
RFC - Korn shell prompt
Grandpa returning to UNIX
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD