Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/prg-localcount2]: src/share/man/man9 Update autoconf(9) to mention that ...
details: https://anonhg.NetBSD.org/src/rev/69a1139c145c
branches: prg-localcount2
changeset: 823546:69a1139c145c
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Wed May 17 01:54:06 2017 +0000
description:
Update autoconf(9) to mention that config_attach_pseudo() returns with
a reference held on the device.
diffstat:
share/man/man9/autoconf.9 | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 290b605235af -r 69a1139c145c share/man/man9/autoconf.9
--- a/share/man/man9/autoconf.9 Wed May 17 01:44:16 2017 +0000
+++ b/share/man/man9/autoconf.9 Wed May 17 01:54:06 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: autoconf.9,v 1.30.20.1 2017/04/28 06:00:33 pgoyette Exp $
+.\" $NetBSD: autoconf.9,v 1.30.20.2 2017/05/17 01:54:06 pgoyette Exp $
.\"
.\" Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -342,6 +342,12 @@
The content of that object is similar to what is returned by
.Fn config_search_loc
for regular devices.
+.Pp
+.Fn config_attach_pseudo
+acquires a reference to the returned device_t (via
+.Fn device_acquire ) ;
+the caller is responsible for releasing the reference via
+.Fn device_release .
.It Fn config_detach "dev" "flags"
.It Fn config_detach_release "dev" "flags"
Called by the parent to acquire a reference to and detach the child device.
Home |
Main Index |
Thread Index |
Old Index