7139 Sync mDNS with mDNSResponder-625.41.2
[unleashed.git] / usr / src / man / man3stmf / stmfGetLogicalUnitList.3stmf
blobc0adf4f30ccffc08de4872b5fafd2f960a09dd77
1 '\" te
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 STMFGETLOGICALUNITLIST 3STMF "Jun 9, 2008"
7 .SH NAME
8 stmfGetLogicalUnitList \- retrieve the list of logical units
9 .SH SYNOPSIS
10 .LP
11 .nf
12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lstmf\fR [ \fIlibrary\fR... ]
13 #include <libstmf.h>
15 \fBint\fR \fBstmfGetLogicalUnitList\fR(\fBstmfGuidList **\fR\fIlogicalUnitList\fR);
16 .fi
18 .SH PARAMETERS
19 .sp
20 .ne 2
21 .na
22 \fB\fIlogicalUnitList\fR\fR
23 .ad
24 .RS 19n
25 A pointer to a pointer to an \fBstmfGuidList\fR structure. On successful
26 return, this will contain a list of logical units in the system.
27 .RE
29 .SH DESCRIPTION
30 .sp
31 .LP
32 The \fBstmfGetLogicalUnitList()\fR function retrieves the list of logical
33 units. The caller should call \fBstmfFreeMemory\fR(3STMF) when this list is no
34 longer needed.
35 .SH RETURN VALUES
36 .sp
37 .LP
38 The following values are returned:
39 .sp
40 .ne 2
41 .na
42 \fB\fBSTMF_ERROR_NOMEM\fR\fR
43 .ad
44 .RS 23n
45 The library was unable to allocate sufficient memory for \fIlogicalUnitList\fR.
46 .RE
48 .sp
49 .ne 2
50 .na
51 \fB\fBSTMF_STATUS_SUCCESS\fR\fR
52 .ad
53 .RS 23n
54 The API call was successful.
55 .RE
57 .SH ATTRIBUTES
58 .sp
59 .LP
60 See \fBattributes\fR(5) for descriptions of the following attributes:
61 .sp
63 .sp
64 .TS
65 box;
66 c | c
67 l | l .
68 ATTRIBUTE TYPE  ATTRIBUTE VALUE
70 Interface Stability     Committed
72 MT-Level        Safe
73 .TE
75 .SH SEE ALSO
76 .sp
77 .LP
78 \fBstmfFreeMemory\fR(3STMF), \fBlibstmf\fR(3LIB), \fBattributes\fR(5)