1stmfGetState(3STMFS)CSI Target Mode Framework Library FunctionsstmfGetState(3STMF)
2
3
4
6 stmfGetState - retrieve the list of sessions on a target
7
9 cc [ flag... ] file... -lstmf [ library... ]
10 #include <libstmf.h>
11
12 int stmfGetState(stmfState *state);
13
14
16 state A pointer to an stmfState structure allocated by the caller.
17
18
20 The stmfGetState() function retrieves the list of target port groups.
21
23 The following values are returned:
24
25 STMF_STATUS_SUCCESS The API call was successful.
26
27
29 See attributes(5) for descriptions of the following attributes:
30
31
32
33
34 ┌─────────────────────────────┬─────────────────────────────┐
35 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
36 ├─────────────────────────────┼─────────────────────────────┤
37 │Interface Stability │Committed │
38 ├─────────────────────────────┼─────────────────────────────┤
39 │MT-Level │Safe │
40 └─────────────────────────────┴─────────────────────────────┘
41
43 libstmf(3LIB), attributes(5)
44
45
46
47SunOS 5.11 9 Jun 2008 stmfGetState(3STMF)