Module Name:    src
Committed By:   dyoung
Date:           Wed Jun  1 20:49:22 UTC 2011

Modified Files:
        src/share/man/man9: pool_cache.9

Log Message:
Describe the arguments to ctor and dtor.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man9/pool_cache.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/pool_cache.9
diff -u src/share/man/man9/pool_cache.9:1.17 src/share/man/man9/pool_cache.9:1.18
--- src/share/man/man9/pool_cache.9:1.17	Thu Dec  2 12:54:13 2010
+++ src/share/man/man9/pool_cache.9	Wed Jun  1 20:49:22 2011
@@ -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

Reply via email to