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 dopowerhooks(9) is deprecated. ...
details: https://anonhg.NetBSD.org/src/rev/bdb8f51201f3
branches: trunk
changeset: 752036:bdb8f51201f3
user: dyoung <dyoung%NetBSD.org@localhost>
date: Thu Feb 11 18:20:38 2010 +0000
description:
Mention that dopowerhooks(9) is deprecated. Suggest to use
pmf_system_suspend(9), instead.
diffstat:
share/man/man9/dopowerhooks.9 | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r 819ae4f59a9e -r bdb8f51201f3 share/man/man9/dopowerhooks.9
--- a/share/man/man9/dopowerhooks.9 Thu Feb 11 18:17:43 2010 +0000
+++ b/share/man/man9/dopowerhooks.9 Thu Feb 11 18:20:38 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: dopowerhooks.9,v 1.3 2008/04/30 13:10:58 martin Exp $
+.\" $NetBSD: dopowerhooks.9,v 1.4 2010/02/11 18:20:38 dyoung Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 3, 1999
+.Dd February 11, 2010
.Dt DOPOWERHOOKS 9
.Os
.Sh NAME
@@ -37,6 +37,13 @@
.Ft void
.Fn dopowerhooks "int why"
.Sh DESCRIPTION
+.Em The
+.Em Nm
+.Em routine is deprecated.
+.Em Use
+.Em Xr pmf_system_suspend 9 ,
+.Em instead.
+.Pp
The
.Fn dopowerhooks
function invokes all power hooks established using the
Home |
Main Index |
Thread Index |
Old Index