1stmfAddToHostGroupS(C3SSITMTFa)rget Mode Framework Library FusntcmtfiAodndsToHostGroup(3STMF)
2
3
4
6 stmfAddToHostGroup - add an initiator port to an existing host group
7
9 cc [ flag... ] file... -lstmf [ library... ]
10 #include <libstmf.h>
11
12 int stmfAddToHostGroup(stmfGroupName *hostGroupName,
13 stmfDevid initiatorName);
14
15
17 hostGroupName The name of the host group to which the specified ini‐
18 tiatorName is added.
19
20
21 initiatorName The device identifier of the initiator port to add to
22 the specified host group.
23
24
26 The stmfAddToHostGroup() function adds an initiator port to an existing
27 host group.
28
30 The following values are returned:
31
32 STMF_ERROR_EXISTS The specified initiatorName already
33 exists in this hostGroupName or in
34 another host group in the system.
35
36
37 STMF_ERROR_GROUP_NOT_FOUND The specified hostGroupName was not found
38 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 stmfAddToHostGroup(3STMF)