SCSI Target Mode Framework Library Functions
stmfFreeLuResource(3STMF)
NAME
stmfFreeLuResource - free an allocated logical unit resource
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include
int stmfFreeLuResource(luResource hdl);
PARAMETERS
hdl A logical unit resource previously allocated in a call to stmfCreateLuResource(3STMF) or stmfGetLuResource(3STMF).DESCRIPTION
The stmfFreeLuResource() function frees a logical unit
resource that was previously allocated in a call to stmfCreateLuResource(3STMF) or stmfGetLuResource(3STMF).RETURN VALUES
The following values are returned:STMF_STATUS_SUCCESS The API call was successful.
STMF_ERROR_INVALID_ARG The hdl argument is not a valid
logical unit resource.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | Safe |
|_____________________________|_____________________________|
SEE ALSO
libstmf(3LIB), stmfCreateLuResource(3STMF), stmfGetLuResource(3STMF), attributes(5)SunOS 5.11 Last change: 8 May 2009 1
SCSI Target Mode Framework Library FunctionsstmfFreeLuResource(3STMF)
SunOS 5.11 Last change: 8 May 2009 2