1stmfFreeLuResourceS(C3SSITMTFa)rget Mode Framework Library FusntcmtfiForneseLuResource(3STMF)
2
3
4
6 stmfFreeLuResource - free an allocated logical unit resource
7
9 cc [ flag... ] file... -lstmf [ library... ]
10 #include <libstmf.h>
11
12 int stmfFreeLuResource(luResource hdl);
13
14
16 hdl A logical unit resource previously allocated in a call to stm‐
17 fCreateLuResource(3STMF) or stmfGetLuResource(3STMF).
18
19
21 The stmfFreeLuResource() function frees a logical unit resource that
22 was previously allocated in a call to stmfCreateLuResource(3STMF) or
23 stmfGetLuResource(3STMF).
24
26 The following values are returned:
27
28 STMF_STATUS_SUCCESS The API call was successful.
29
30
31 STMF_ERROR_INVALID_ARG The hdl argument is not a valid logical unit
32 resource.
33
34
36 See attributes(5) for descriptions of the following attributes:
37
38
39
40
41 ┌─────────────────────────────┬─────────────────────────────┐
42 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
43 ├─────────────────────────────┼─────────────────────────────┤
44 │Interface Stability │Committed │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │MT-Level │Safe │
47 └─────────────────────────────┴─────────────────────────────┘
48
50 libstmf(3LIB), stmfCreateLuResource(3STMF), stmfGetLuResource(3STMF),
51 attributes(5)
52
53
54
55SunOS 5.11 8 May 2009 stmfFreeLuResource(3STMF)