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_clone_component(3WSREG)


NAME

 wsreg_clone_component - clone a component

SYNOPSIS

 
cc [flag ...]  file ...-lwsreg [library ...] 
#include <wsreg.h>
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 specified by comp.

USAGE

 

The resulting component must be released through a call to wsreg_free_component() by the caller. See wsreg_create_component(3WSREG).

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelUnsafe

SEE ALSO

 

wsreg_create_component(3WSREG), wsreg_initialize(3WSREG), wsreg_get(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.