Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 document PR_ZERO



details:   https://anonhg.NetBSD.org/src/rev/339185fe5c64
branches:  trunk
changeset: 448834:339185fe5c64
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 10 17:15:45 2019 +0000

description:
document PR_ZERO

diffstat:

 share/man/man9/pool.9 |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r fe88017b6fc8 -r 339185fe5c64 share/man/man9/pool.9
--- a/share/man/man9/pool.9     Sun Feb 10 17:13:33 2019 +0000
+++ b/share/man/man9/pool.9     Sun Feb 10 17:15:45 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pool.9,v 1.46 2016/12/24 14:04:10 abhinav Exp $
+.\"    $NetBSD: pool.9,v 1.47 2019/02/10 17:15:45 christos Exp $
 .\"
 .\" Copyright (c) 1997, 1998, 2007 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 August 15, 2015
+.Dd February 10, 2019
 .Dt POOL 9
 .Os
 .Sh NAME
@@ -167,6 +167,10 @@
 .Dv NULL
 without waiting, allowing the caller to do its own garbage collection;
 however, it will still wait if the pool is not yet at its hard limit.
+If the
+.Dv PR_ZERO
+flag is specified, then the memory returned will be zeroed first using
+.Xr memset 3 .
 .El
 .Ss RETURNING ITEMS TO A POOL
 .Fn pool_put



Home | Main Index | Thread Index | Old Index