1stmfDeleteLu(3STMFS)CSI Target Mode Framework Library FunctionsstmfDeleteLu(3STMF)
2
3
4
6 stmfDeleteLu - delete a logical unit
7
9 cc [ flag... ] file... -lstmf [ library... ]
10 #include <libstmf.h>
11
12 int stmfDeleteLu(stmfGuid *luGuid);
13
14
16 luGuid a pointer to an stmfGuid structure containing the guid of the
17 logical unit to delete
18
19
21 The stmfDeleteLu() function deletes the logical unit from the system.
22 Any view entries that may exist for this logical unit will be retained
23 in the system and must be removed using stmfRemoveViewEntry(3STMF) if
24 so desired.
25
27 The following values are returned:
28
29 STMF_STATUS_SUCCESS The API call was successful.
30
31
32 STMF_ERROR_NOT_FOUND The guid does not exist.
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), stmfRemoveViewEntry(3STMF), attributes(5)
51
52
53
54SunOS 5.11 8 May 2009 stmfDeleteLu(3STMF)