wsreg_components_eProductSInstall Registry Librawsreg_components_equal(3WSREG)NAMEwsreg_components_equal - determine equality of two components
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
int wsreg_components_equal(const Wsreg_component *comp1, const
Wsreg_component *comp2);
DESCRIPTION
The wsreg_components_equal() function determines if the component spec‐
ified by the comp1 argument is equal to the component specified by the
comp2 argument. Equality is evaluated based only on the content of the
two components, not the order in which data was set into the compo‐
nents.
RETURN VALUES
The wsreg_components_equal() function returns a non-zero value if the
component specified by the comp1 argument is equal to the component
specified by the comp2 argument. Otherwise, 0 is returned.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │Unsafe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOwsreg_clone_component(3WSREG), wsreg_create_component(3WSREG),
wsreg_initialize(3WSREG), attributes(5)SunOS 5.10 22 Sep 2000 wsreg_components_equal(3WSREG)