|
DOSHUTDOWNHOOKS(9)
Contents
|
doshutdownhooks - run all shutdown hooks
void
doshutdownhooks(void);
The doshutdownhooks() function invokes all shutdown hooks established
using the shutdownhook_establish(9) function. Shutdown hooks are called
in reverse order, i.e. the shutdown hook established last will be called
first.
This function is called from boot() with interrupts turned off. It is
called immediately before the system is halted or rebooted, after file
systems have been unmounted, after the clock has been updated, and after
a system dump has been done (if necessary).
shutdownhook_establish(9)
BSD November 13, 1995 BSD
[ Back ] |