SCSI Target Mode Framework Library Functions
stmfCreateHostGroup(3STMF)
NAME
stmfCreateHostGroup - create a new host group
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include
int stmfCreateHostGroup(stmfGroupName *hostGroupName);
PARAMETERS
hostGroupName The name of the host group to be created.DESCRIPTION
The stmfCreateHostGroup() function creates a new host group.
RETURN VALUES
The following values are returned:STMF_ERROR_EXISTS The value specified for hostGroup-
Name already exists in the system.STMF_INVALID_ARGUMENT The value specified for hostGroup-
Name was not valid.STMF_STATUS_SUCCESS The API call was successful.
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: 9 Jun 2008 1
SCSI Target Mode Framework Library FunctionsstmfCreateHostGroup(3STMF)
SunOS 5.11 Last change: 9 Jun 2008 2