cc [ flag... ] file... –lstmf [ library... ] #include <libstmf.h> int stmfSetProviderData(char *providerName, nvlist_t *nvl, int providerType);
The name of the provider for which data is being set.
A pointer to an nvlist_t containing the nvlist to be set.
The value must be either STMF_LU_PROVIDER_TYPE or STMF_PORT_PROVIDER_TYPE.
The stmfSetProviderData() function sets the data for the specified provider.
The following values are returned:
The library was unable to allocate sufficient memory to return the data.
The API call was successful.
See attributes(5) for descriptions of the following attributes: