👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

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

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

NAME
     doshutdownhooks -- run all shutdown hooks

SYNOPSIS
     void
     doshutdownhooks(void);

DESCRIPTION
     The doshutdownhooks routine is deprecated. Use pmf_system_shutdown(9) instead.

     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 immedi-
     ately 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)

BSD					February 11, 2010				      BSD


All times are GMT -4. The time now is 03:31 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password