|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Extended Library Functions, Volume 4 Oracle Solaris 11 Information Library|
- convert an iSCSI name to a stmfDevid structure
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfDevidFromIscsiName(char *iscsiName, stmfDevid *devid);
A character string of UTF-8 encoded Unicode characters representing the iSCSI name terminated with the Unicode nul character.
A pointer to a stmfDevid structure allocated by the caller. On successful return, this will contain the converted device identifier. On error, the value of this parameter is undefined.
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:
The value of iscsiName was not valid iSCSI name.
The API call was successful.
See attributes(5) for descriptions of the following attributes: