1stmfGetTargetList(S3CSSTIMFT)arget Mode Framework Library FunscttmifoGnestTargetList(3STMF)
2
3
4
6 stmfGetTargetList - retrieve the list of target ports
7
9 cc [ flag... ] file... -lstmf [ library... ]
10 #include <libstmf.h>
11
12 int stmfGetTargetList(stmfDevidList **targetList);
13
14
16 targetList A pointer to a pointer to an stmfDevidList structure. On
17 successful return, this will contain a list of target
18 ports in the system.
19
20
22 The stmfGetTargetList() function retrieves the list of target ports.
23 The caller should call stmfFreeMemory(3STMF) when this list is no
24 longer needed.
25
27 The following values are returned:
28
29 STMF_ERROR_NOMEM The library was unable to allocate sufficient
30 memory for targetList.
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 libstmf(3LIB), stmfFreeMemory(3STMF), attributes(5)
52
53
54
55SunOS 5.11 9 Jun 2008 stmfGetTargetList(3STMF)