1 '\" te 2 .\" Copyright (c) 1996, 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 CSX_FREEHANDLE 9F "Jul 19, 1996" 7 .SH NAME 8 csx_FreeHandle \- free access handle 9 .SH SYNOPSIS 10 .LP 11 .nf 12 #include <sys/pccard.h> 13 14 15 16 \fBint32_t\fR \fBcsx_FreeHandle\fR(\fBacc_handle_t *\fR\fIhandle\fR); 17 .fi 18 19 .SH INTERFACE LEVEL 20 .sp 21 .LP 22 Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR 23 .SH PARAMETERS 24 .sp 25 .ne 2 26 .na 27 \fB\fIhandle\fR \fR 28 .ad 29 .RS 11n 30 The access handle returned from \fBcsx_RequestIO\fR(9F), 31 \fBcsx_RequestWindow\fR(9F), or \fBcsx_DupHandle\fR(9F). 32 .RE 33 34 .SH DESCRIPTION 35 .sp 36 .LP 37 This function frees the handle, \fIhandle\fR. If the handle was created by the 38 \fBcsx_DupHandle\fR(9F) function, this function will free the storage 39 associated with this handle, but will not modify any resources that the 40 original handle refers to. If the handle was created by a common access setup 41 function, this function will release the resources associated with this handle. 42 .SH RETURN VALUES 43 .sp 44 .ne 2 45 .na 46 \fB\fBCS_SUCCESS\fR \fR 47 .ad 48 .RS 28n 49 Successful operation. 50 .RE 51 52 .sp 53 .ne 2 54 .na 55 \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR 56 .ad 57 .RS 28n 58 No \fBPCMCIA \fRhardware installed. 59 .RE 60 61 .SH CONTEXT 62 .sp 63 .LP 64 This function may be called from user or kernel context. 65 .SH SEE ALSO 66 .sp 67 .LP 68 \fBcsx_DupHandle\fR(9F), \fBcsx_RequestIO\fR(9F), \fBcsx_RequestWindow\fR(9F) 69 .sp 70 .LP 71 \fIPC Card95 Standard, PCMCIA/JEIDA\fR