12.07.2015 Views

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DOSHUTDOWNHOOKS (9) <strong>NetBSD</strong> <strong>Kernel</strong> Developer’s <strong>Manual</strong> DOSHUTDOWNHOOKS (9)<strong>NAME</strong>doshutdownhooks —run all shutdown hooksSYNOPSISvoiddoshutdownhooks(void);DESCRIPTIONThe doshutdownhooks() function invokes all shutdown hooks established using theshutdownhook_establish(9) function. Shutdown hooks are called in reverse order, i.e., the shutdownhook established last will be called first.This function is called from cpu_reboot() with interrupts turned off. It is called immediately before thesystem is halted or rebooted, after file systems have been unmounted, after the clock has been updated, andafter a system dump has been done (if necessary).SEE ALSOcpu_reboot(9), shutdownhook_establish(9)<strong>NetBSD</strong> 3.0 November 13, 1995 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!