Module Name: src
Committed By: dyoung
Date: Thu Feb 11 18:17:43 UTC 2010
Modified Files:
src/share/man/man9: doshutdownhooks.9
Log Message:
Mention that doshutdownhooks(9) is deprecated. Suggest to use
pmf_system_shutdown(9), instead.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man9/doshutdownhooks.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/doshutdownhooks.9
diff -u src/share/man/man9/doshutdownhooks.9:1.10 src/share/man/man9/doshutdownhooks.9:1.11
--- src/share/man/man9/doshutdownhooks.9:1.10 Fri Feb 14 15:20:21 2003
+++ src/share/man/man9/doshutdownhooks.9 Thu Feb 11 18:17:43 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: doshutdownhooks.9,v 1.10 2003/02/14 15:20:21 grant Exp $
+.\" $NetBSD: doshutdownhooks.9,v 1.11 2010/02/11 18:17:43 dyoung Exp $
.\"
.\" Copyright (c) 1994 Christopher G. Demetriou
.\" All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
.\"
-.Dd November 13, 1995
+.Dd February 11, 2010
.Dt DOSHUTDOWNHOOKS 9
.Os
.Sh NAME
@@ -42,6 +42,13 @@
.Ft void
.Fn doshutdownhooks "void"
.Sh DESCRIPTION
+.Em The
+.Em Nm
+.Em routine is deprecated.
+.Em Use
+.Em Xr pmf_system_shutdown 9 ,
+.Em instead.
+.Pp
The
.Fn doshutdownhooks
function invokes all shutdown hooks established using the