1stmfGetLogicalUnitSLCiSsIt(T3aSrTgMeFt)Mode Framework LibrarsytmFfuGnecttLioogniscalUnitList(3STMF)
2
3
4
6 stmfGetLogicalUnitList - retrieve the list of logical units
7
9 cc [ flag... ] file... -lstmf [ library... ]
10 #include <libstmf.h>
11
12 int stmfGetLogicalUnitList(stmfGuidList **logicalUnitList);
13
14
16 logicalUnitList A pointer to a pointer to an stmfGuidList structure.
17 On successful return, this will contain a list of
18 logical units in the system.
19
20
22 The stmfGetLogicalUnitList() function retrieves the list of logical
23 units. The caller should call stmfFreeMemory(3STMF) when this list is
24 no longer needed.
25
27 The following values are returned:
28
29 STMF_ERROR_NOMEM The library was unable to allocate sufficient
30 memory for logicalUnitList.
31
32
33 STMF_STATUS_SUCCESS The API call was successful.
34
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Interface Stability │Committed │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │MT-Level │Safe │
48 └─────────────────────────────┴─────────────────────────────┘
49
51 stmfFreeMemory(3STMF), libstmf(3LIB), attributes(5)
52
53
54
55SunOS 5.11 9 Jun 2008 stmfGetLogicalUnitList(3STMF)