STMFDELETELU(3STMF) | SCSI Target Mode Framework Library Functions | STMFDELETELU(3STMF) |
stmfDeleteLu - delete a logical unit
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfDeleteLu(stmfGuid *luGuid);
luGuid
The stmfDeleteLu() function deletes the logical unit from the system. Any view entries that may exist for this logical unit will be retained in the system and must be removed using stmfRemoveViewEntry(3STMF) if so desired.
The following values are returned:
STMF_STATUS_SUCCESS
STMF_ERROR_NOT_FOUND
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Committed |
MT-Level | Safe |
May 8, 2009 | OmniOS |