|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Cluster Reference Manual Oracle Solaris Cluster 4.0|
- retrieve the last element of the path name by which a data service method was called
cc [flags…] -I /usr/cluster/include file -L /usr/cluster/lib -l dsdev #include <rgm/libdsdev.h> const char *scds_get_current_method_name(scds_handle_t handle);
The scds_get_current_method_name() function returns a pointer to a character string. This character string contains the last element of the path by which a data service method was called.
See the basename(3C) man page for more information.
The pointer to the character string points to memory that belongs to the Data Service Development Library (DSDL). Do not modify this memory. A call to scds_close() invalidates this pointer.
The following parameters are supported:
The handle that is returned from scds_initialize(3HA).
The function succeeded.
See scha_calls(3HA) for a description of other error codes.
See attributes(5) for descriptions of the following attributes: