1stmfAddToTargetGroSuCpS(I3STTaMrFg)et Mode Framework LibrarysFtumnfcAtdidoTnosTargetGroup(3STMF)
2
3
4
6 stmfAddToTargetGroup - add a target to an existing target group
7
9 cc [ flag... ] file... -lstmf [ library... ]
10 #include <libstmf.h>
11
12 int stmfAddToTargetGroup(stmfGroupName *targetGroupName,
13 stmfDevid targetName);
14
15
17 targetGroupName The name of the target port group to which the spec‐
18 ified targetName is added.
19
20
21 targetName The device identifier of the target port to add to
22 the specified target group.
23
24
26 The stmfAddToTargetGroup() function adds a target to an existing target
27 group.
28
30 The following values are returned:
31
32 STMF_ERROR_EXISTS The specified targetName already exists
33 in this tagettGroupName or in another
34 target group in the system.
35
36
37 STMF_ERROR_GROUP_NOT_FOUND The specified targetGroupName was not
38 found in the system.
39
40
41 STMF_STATUS_SUCCESS The API call was successful.
42
43
45 See attributes(5) for descriptions of the following attributes:
46
47
48
49
50 ┌─────────────────────────────┬─────────────────────────────┐
51 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │Interface Stability │Committed │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │MT-Level │Safe │
56 └─────────────────────────────┴─────────────────────────────┘
57
59 libstmf(3LIB), attributes(5)
60
61
62
63SunOS 5.11 9 Jun 2008 stmfAddToTargetGroup(3STMF)