2 .\" Copyright (c) 2009, 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. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
4 .\" See the License for the specific language governing permissions and limitations under the License. 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
5 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH STMFFREELURESOURCE 3STMF "May 8, 2009"
8 stmfFreeLuResource \- free an allocated logical unit resource
12 cc [ \fIflag\fR... ] \fIfile\fR... -lstmf [ \fIlibrary\fR... ]
15 \fBint\fR \fBstmfFreeLuResource\fR(\fBluResource\fR \fIhdl\fR);
25 A logical unit resource previously allocated in a call to
26 \fBstmfCreateLuResource\fR(3STMF) or \fBstmfGetLuResource\fR(3STMF).
32 The \fBstmfFreeLuResource()\fR function frees a logical unit resource that was
33 previously allocated in a call to \fBstmfCreateLuResource\fR(3STMF) or
34 \fBstmfGetLuResource\fR(3STMF).
38 The following values are returned:
42 \fB\fBSTMF_STATUS_SUCCESS\fR\fR
45 The API call was successful.
51 \fB\fBSTMF_ERROR_INVALID_ARG\fR\fR
54 The \fIhdl\fR argument is not a valid logical unit resource.
60 See \fBattributes\fR(5) for descriptions of the following attributes:
68 ATTRIBUTE TYPE ATTRIBUTE VALUE
70 Interface Stability Committed
78 \fBlibstmf\fR(3LIB), \fBstmfCreateLuResource\fR(3STMF),
79 \fBstmfGetLuResource\fR(3STMF), \fBattributes\fR(5)