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