Product Install Registry Library Functions
wsreg_clone_component(3WSREG)
NAME
wsreg_clone_component - clone a component
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include
Wsreg_component *wsreg_clone_component(const Wsreg_component *comp);
DESCRIPTION
The wsreg_clone_component() function clones the component
specified by comp.RETURN VALUES
The wsreg_clone_component() returns a pointer to a component
that is configured exactly the same as the component speci-
fied by comp.USAGE
The resulting component must be released through a call towsreg_free_component() by the caller. See
wsreg_create_component(3WSREG).
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| MT-Level | Unsafe |
|_____________________________|_____________________________|
SEE ALSO
wsreg_create_component(3WSREG), wsreg_initialize(3WSREG),
wsreg_get(3WSREG), attributes(5)
SunOS 5.11 Last change: 22 Sep 2000 1
Product Install Registry Library Functionswsreg_clone_component(3WSREG)
SunOS 5.11 Last change: 22 Sep 2000 2