DOSHUTDOWNHOOKS(9)     NetBSD Kernel Developer's Manual     DOSHUTDOWNHOOKS(9)

NAME
     doshutdownhooks -- run all shutdown hooks

SYNOPSIS
     void
     doshutdownhooks(void);

DESCRIPTION
     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 cpu_reboot() 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).

SEE ALSO
     cpu_reboot(9), shutdownhook_establish(9)

NetBSD 5.0.1                   November 13, 1995                  NetBSD 5.0.1

You can also request any man page by name and (optionally) by section:

Command: 
Section: 
Architecture: 
Collection: 
 

Use the DEFAULT collection to view manual pages for third-party software.


©1994 Man-cgi 1.15, Panagiotis Christias <christia@softlab.ntua.gr>
©1996-2014 Modified for NetBSD by Kimmo Suominen