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 tagettGroupName or in another target group in the system.
The specified targetGroupName was not found in the system.
The API call was successful.
See attributes(5) for descriptions of the following attributes: