| STMFDEVIDFROMISCSINAME(3STMF) | SCSI Target Mode Framework Library Functions | STMFDEVIDFROMISCSINAME(3STMF) |
stmfDevidFromIscsiName - convert an iSCSI name to a stmfDevid structure
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfDevidFromIscsiName(char *iscsiName, stmfDevid *devid);
iscsiName
devid
The stmfDevidFromIscsiName() function converts an iSCSI name to a stmfDevid structure. It returns the devid as a SCSI name string identifier.
The following values are returned:
STMF_ERROR_INVALID_ARGUMENT
STMF_STATUS_SUCCESS
See attributes(7) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Interface Stability | Committed |
| MT-Level | Safe |
| June 9, 2008 | OmniOS |