STMFCREATEHOSTGROUP(3STMF) SCSI Target Mode Framework Library Functions STMFCREATEHOSTGROUP(3STMF)

stmfCreateHostGroup - create a new host group

cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>
int stmfCreateHostGroup(stmfGroupName *hostGroupName);

hostGroupName

The name of the host group to be created.

The stmfCreateHostGroup() function creates a new host group.

The following values are returned:

STMF_ERROR_EXISTS

The value specified for hostGroupName already exists in the system.

STMF_INVALID_ARGUMENT

The value specified for hostGroupName was not valid.

STMF_STATUS_SUCCESS

The API call was successful.

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Committed
MT-Level Safe

libstmf(3LIB), attributes(7)

June 9, 2008 OmniOS