stmfAddToTargetGroup - add a target to an existing target group
cc [ flag... ] file... –lstmf [ library... ] #include <libstmf.h> int stmfAddToTargetGroup(stmfGroupName *targetGroupName, stmfDevid targetName);
The name of the target port group to which the specified targetName is added.
The device identifier of the target port to add to the specified target group.
The stmfAddToTargetGroup() function adds a target to an existing target group.
The following values are returned:
The specified targetName already exists in this targetGroupName or in another target group in the system.
The specified targetGroupName was not found in the system.
The API call was successful.
See attributes(7) for descriptions of the following attributes: