summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2007-04-29 19:46:33 +0000
committerjmg <jmg@FreeBSD.org>2007-04-29 19:46:33 +0000
commit4875bdb76ee55f8f39a52a895caf1056c98a40e2 (patch)
tree051bebe121b09825e1649aa6d044fe9f34fe865a
parentae8de717aa0507d069a5b76dd20efdb915400f3e (diff)
downloadFreeBSD-src-4875bdb76ee55f8f39a52a895caf1056c98a40e2.zip
FreeBSD-src-4875bdb76ee55f8f39a52a895caf1056c98a40e2.tar.gz
Document requirements to calling rman_init... (Hmmm, maybe we should make
these areguments to rman_init?) MFC after: 1 week
-rw-r--r--share/man/man9/rman.917
1 files changed, 16 insertions, 1 deletions
diff --git a/share/man/man9/rman.9 b/share/man/man9/rman.9
index 7bef25e..43c3228 100644
--- a/share/man/man9/rman.9
+++ b/share/man/man9/rman.9
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 28, 2007
+.Dd April 29, 2007
.Dt RMAN 9
.Os
.Sh NAME
@@ -139,6 +139,21 @@ The
function initializes the region descriptor, pointed to by the
.Fa rm
argument, for use with the resource management functions.
+It is required that the fields
+.Va rm_type
+and
+.Va rm_descr
+of
+.Vt "struct rman"
+be set before calling
+.Fn rman_init .
+The field
+.Va rm_type
+shall be set to
+.Dv RMAN_ARRAY .
+The field
+.Va rm_descr
+shall be set to a string that describes the resource to be managed.
It also initializes any mutexes associated with the structure.
If
.Fn rman_init
OpenPOWER on IntegriCloud