STMFDEVIDFROMWWN(3STMF) | SCSI Target Mode Framework Library Functions | STMFDEVIDFROMWWN(3STMF) |
stmfDevidFromWwn - convert a WWN to a stmfDevid structure
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfDevidFromWWN(uchar_t wwn[8], stmfDevid *devid);
wwn
devid
The stmfDevidFromWwn function convert a WWN to a stmfDevid structure. It returns the devid as a SCSI name string.
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 |