2 .\" Copyright (c) 2008, Sun Microsystems Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH STMFADDTOTARGETGROUP 3STMF "Jun 9, 2008"
8 stmfAddToTargetGroup \- add a target to an existing target group
12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lstmf\fR [ \fIlibrary\fR... ]
15 \fBint\fR \fBstmfAddToTargetGroup\fR(\fBstmfGroupName *\fR\fItargetGroupName\fR,
16 \fBstmfDevid\fR \fItargetName\fR);
23 \fB\fItargetGroupName\fR\fR
26 The name of the target port group to which the specified \fItargetName\fR is
33 \fB\fItargetName\fR\fR
36 The device identifier of the target port to add to the specified target group.
42 The \fBstmfAddToTargetGroup()\fR function adds a target to an existing target
47 The following values are returned:
51 \fB\fBSTMF_ERROR_EXISTS\fR\fR
54 The specified \fItargetName\fR already exists in this \fItagettGroupName\fR or
55 in another target group in the system.
61 \fB\fBSTMF_ERROR_GROUP_NOT_FOUND\fR\fR
64 The specified \fItargetGroupName\fR was not found in the system.
70 \fB\fBSTMF_STATUS_SUCCESS\fR\fR
73 The API call was successful.
79 See \fBattributes\fR(5) for descriptions of the following attributes:
87 ATTRIBUTE TYPE ATTRIBUTE VALUE
89 Interface Stability Committed
97 \fBlibstmf\fR(3LIB), \fBattributes\fR(5)