|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Extended Library Functions, Volume 4 Oracle Solaris 11.1 Information Library|
- check if a particular host group is in use
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfCheckHostGroupInUse(stmfGroupName *groupName, boolean_t *inUse);
The name of the host group being checked.
B_TRUE if the group is in use. B_FALSE if the group is not in use.
The stmfCheckHostGroupInUse() function checks whether a given host group is in use. A host group is considered to be in use when there are one or more view entries using the host group.
The following values are returned:
The API call was successful.
The groupName argument was unrecognized.
The specified groupName was not found in the system.
See attributes(5) for descriptions of the following attributes: