SCSI Target Mode Framework Library Functions
stmfAddToHostGroup(3STMF)
NAME
stmfAddToHostGroup - add an initiator port to an existing
host groupSYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include
int stmfAddToHostGroup(stmfGroupName *hostGroupName,
stmfDevid initiatorName);PARAMETERS
hostGroupName The name of the host group to which the specified initiatorName is added. initiatorName The device identifier of the initiator port to add to the specified host group.DESCRIPTION
The stmfAddToHostGroup() function adds an initiator port to
an existing host group.RETURN VALUES
The following values are returned:STMF_ERROR_EXISTS The specified initiatorName
already exists in this host-
GroupName or in another host group in the system.STMF_ERROR_GROUP_NOT_FOUND The specified hostGroupName
was not found in the system.STMF_STATUS_SUCCESS The API call was successful.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 9 Jun 2008 1
SCSI Target Mode Framework Library FunctionsstmfAddToHostGroup(3STMF)
______________________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | Safe |
|_____________________________|_____________________________|
SEE ALSO
libstmf(3LIB), attributes(5)SunOS 5.11 Last change: 9 Jun 2008 2
SCSI Target Mode Framework Library FunctionsstmfAddToHostGroup(3STMF)
SunOS 5.11 Last change: 9 Jun 2008 3