From bc95681198350fe1d9d2f32fa1ea861f7d1e2d5b Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sun, 29 Apr 2007 19:46:33 +0000 Subject: [PATCH] Document requirements to calling rman_init... (Hmmm, maybe we should make these areguments to rman_init?) MFC after: 1 week --- share/man/man9/rman.9 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/share/man/man9/rman.9 b/share/man/man9/rman.9 index 7bef25e8182e..43c32280cce4 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