cm_args(D4)
cm_args --
configuration manager argument structure
Syntax
   #include <sys/confmgr.h>
   #include <sys/ddi.h>
Description
cm_args is used for input and/or output arguments into
configuration manager routines.
Usage
Structure definitions
The cm_args structure, defined as cm_args_t,
contains the following members:
   rm_key_t        cm_key;         /* key for relevant record in database */
   char            *cm_param;      /* parameter of interest */
   void            *cm_val;        /* buffer for value */
   size_t          cm_vallen;      /* length of cm_val in bytes */
   uint_t          cm_n;           /* used to retrieve n-th value */
Applicable hardware
All
Version applicability
ddi:
5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
Difference between versions
References
cm_addval(D3),
cm_begin_trans(D3),
cm_delval(D3),
cm_end_trans(D3),
cm_getbrdkey(D3),
cm_getval(D3),
cm_params(D5)
Examples
See the
cm_getval(D3)
manual page for a code example that illustrates
how to populate the cm_args structure
and pass it to the
cm_getval(D3)
function.
19 June 2005
© 2005 The SCO Group, Inc.  All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005