Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Describe the arguments to ctor and dtor.



details:   https://anonhg.NetBSD.org/src/rev/9f1bb179ebb6
branches:  trunk
changeset: 765661:9f1bb179ebb6
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Jun 01 20:49:22 2011 +0000

description:
Describe the arguments to ctor and dtor.

diffstat:

 share/man/man9/pool_cache.9 |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 1a4f8d564592 -r 9f1bb179ebb6 share/man/man9/pool_cache.9
--- a/share/man/man9/pool_cache.9       Wed Jun 01 19:45:08 2011 +0000
+++ b/share/man/man9/pool_cache.9       Wed Jun 01 20:49:22 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pool_cache.9,v 1.17 2010/12/02 12:54:13 wiz Exp $
+.\"    $NetBSD: pool_cache.9,v 1.18 2011/06/01 20:49:22 dyoung Exp $
 .\"
 .\" Copyright (c)2003 YAMAMOTO Takashi,
 .\" All rights reserved.
@@ -53,7 +53,7 @@
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" ------------------------------------------------------------
-.Dd October 15, 2009
+.Dd June 1, 2011
 .Dt POOL_CACHE 9
 .Os
 .\" ------------------------------------------------------------
@@ -188,12 +188,23 @@
 Specifies a constructor used to initialize newly allocated objects.
 If no constructor is required, specify
 .Dv NULL .
+The first argument to
+.Fa ctor
+is
+.Fa arg ,
+the second is the new object, and the third is
+.Fa flags .
 .It Fa dtor
 .Pp
 Specifies a destructor used to destroy cached objects prior to
 their release to backing store.
 If no destructor is required, specify
 .Dv NULL .
+The first argument to
+.Fa dtor
+is
+.Fa arg ,
+and the second is the object.
 .It Fa arg
 .Pp
 This value of this argument will be passed to both the constructor



Home | Main Index | Thread Index | Old Index