Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Product Install Registry Library Functionswsreg_components_equal(3WSREG)


NAME

 wsreg_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 specified 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 components.

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 TYPEATTRIBUTE VALUE
MT-LevelUnsafe

SEE ALSO

 

wsreg_clone_component(3WSREG), wsreg_create_component(3WSREG), wsreg_initialize(3WSREG), attributes(5)


SunOS 5.9Go To TopLast Changed 22 Sep 2000

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.