man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: July 2014
 
 

stmfCheckHostGroupInUse(3STMF)

Name

stmfCheckHostGroupInUse - check if a particular host group is in use

Synopsis

cc [ flag... ] file... –lstmf [ library... ]
#include <libstmf.h>

int stmfCheckHostGroupInUse(stmfGroupName *groupName, boolean_t *inUse);

Parameters

groupName

The name of the host group being checked.

inUse

B_TRUE if the group is in use. B_FALSE if the group is not in use.

Description

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.

Return Values

The following values are returned:

STMF_STATUS_SUCCESS

The API call was successful.

STMF_ERROR_INVALID_ARG

The groupName argument was unrecognized.

STMF_ERROR_NOT_FOUND

The specified groupName was not found in the system.

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Safe

See also

libstmf(3LIB), attributes(5)