- retrieve the resource type name
cc [flags…] -I /usr/cluster/include file -L /usr/cluster/lib -l dsdev #include <rgm/libdsdev.h> const char *scds_get_resource_type_name(scds_handle_t handle);
The scds_get_resource_type_name() function returns a pointer to a character string containing the name of the resource type of the resource passed to the calling program. The pointer is to memory belonging to the DSDL. Therefore, do not modify this memory. A call to scds_close() invalidates the pointer.
The following parameters are supported:
The handle returned from scds_initialize()
Indicates an error condition such as not previously calling scds_initialize()
See scha_calls(3HA) for a description of other error codes.
See attributes(5) for descriptions of the following attributes: