Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

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  
 
Sun Cluster HA and Data Servicesscds_get_resource_group_name(3HA)


NAME

 scds_get_resource_group_name - retrieve the resource group name

SYNOPSIS

 
cc [flags...]-I /usr/cluster/include file -L /usr/cluster/lib -l dsdev
#include <rgm/libdsdev.h>
const char *scds_get_resource_group_name(scds_handle_t handle);

DESCRIPTION

 

The scds_get_resource_group_name() function returns a pointer to a character string that is the name of the resource group containing the resource passed to the calling program. The pointer is to memory belonging to the DSDL. Do not modify this memory. A call to scds_close() invalidates the pointer.


PARAMETERS

 

The following parameters are supported:

handle
The handle returned from scds_initialize()

ERRORS

 
NULL
Indicates an error condition such as not previously calling scds_initialize(3HA)

See scha_calls(3HA) for a description of other error codes.


FILES

 
/usr/cluster/include/scha.h
Include file
/usr/cluster/lib/libscha.so
Library

ATTRIBUTES

 

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

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWscdev
Interface StabilityEvolving

SEE ALSO

 

scds_close(3HA), scds_initialize(3HA), scha_calls(3HA), attributes(5)



Sun Cluster 3.1Go To TopLast Changed 19 Jun 2002