SCSI Target Mode Framework Library Functions
stmfRemoveFromTargetGroup(3STMF)
NAME
stmfRemoveFromTargetGroup - remove a target port from an
target port groupSYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include
int stmfRemoveFromTargetGroup(stmfGroupName *targetGroupName
stmfDevid *targetName);PARAMETERS
targetGroupName The name of the target port group from which the specified targetGroupName is being removed. targetName The device identifier of the target port to remove from the specified target port group.DESCRIPTION
The stmfRemoveFromTargetGroup() function removes a target
port from an target port group.RETURN VALUES
The following values are returned:STMF_ERROR_GROUP_NOT_FOUND
The specified targetGroupName was not found in the sys-
tem.STMF_ERROR_MEMBER_NOT_FOUND
The specified targetName was not found in the system.STMF_ERROR_TG_ONLINE
The specified targetName must be offline.STMF_STATUS_SUCCESS
The API call was successful.SunOS 5.11 Last change: 15 Jun 2009 1
SCSI Target Mode Framework Library FunctionsstmfRemoveFromTargetGroup(3STMF)
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | Safe |
|_____________________________|_____________________________|
SEE ALSO
libstmf(3LIB), attributes(5)SunOS 5.11 Last change: 15 Jun 2009 2
SCSI Target Mode Framework Library FunctionsstmfRemoveFromTargetGroup(3STMF)
SunOS 5.11 Last change: 15 Jun 2009 3