Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Mention that doshutdownhooks(9) is deprecated...



details:   https://anonhg.NetBSD.org/src/rev/819ae4f59a9e
branches:  trunk
changeset: 752035:819ae4f59a9e
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Thu Feb 11 18:17:43 2010 +0000

description:
Mention that doshutdownhooks(9) is deprecated.  Suggest to use
pmf_system_shutdown(9), instead.

diffstat:

 share/man/man9/doshutdownhooks.9 |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 28ce583ef833 -r 819ae4f59a9e share/man/man9/doshutdownhooks.9
--- a/share/man/man9/doshutdownhooks.9  Thu Feb 11 18:11:37 2010 +0000
+++ b/share/man/man9/doshutdownhooks.9  Thu Feb 11 18:17:43 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index