1 '\" te 2 .\" Copyright (c) 1997, 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_GETHANDLEOFFSET 9F "May 16, 1997" 7 .SH NAME 8 csx_GetHandleOffset \- return current access handle offset 9 .SH SYNOPSIS 10 .LP 11 .nf 12 #include <sys/pccard.h> 13 14 \fBint32_t\fR \fBcsx_GetHandleOffset\fR(\fBacc_handle_t\fR \fIhandle\fR, \fBuint32_t *\fR\fIoffset\fR); 15 .fi 16 17 .SH INTERFACE LEVEL 18 .sp 19 .LP 20 Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR 21 .SH PARAMETERS 22 .sp 23 .ne 2 24 .na 25 \fB\fIhandle\fR \fR 26 .ad 27 .RS 11n 28 Access handle returned by \fBcsx_RequestIRQ\fR(9F) or \fBcsx_RequestIO\fR(9F). 29 .RE 30 31 .sp 32 .ne 2 33 .na 34 \fB\fIoffset\fR \fR 35 .ad 36 .RS 11n 37 Pointer to a \fBuint32_t\fR in which the current access handle offset is 38 returned. 39 .RE 40 41 .SH DESCRIPTION 42 .sp 43 .LP 44 This function returns the current offset for the access handle, \fIhandle\fR, 45 in \fIoffset\fR. 46 .SH RETURN VALUES 47 .sp 48 .ne 2 49 .na 50 \fB\fBCS_SUCCESS\fR \fR 51 .ad 52 .RS 15n 53 Successful operation. 54 .RE 55 56 .SH CONTEXT 57 .sp 58 .LP 59 This function may be called from user or kernel context. 60 .SH SEE ALSO 61 .sp 62 .LP 63 \fBcsx_RequestIO\fR(9F), \fBcsx_RequestIRQ\fR(9F), 64 \fBcsx_SetHandleOffset\fR(9F) 65 .sp 66 .LP 67 \fIPC Card 95 Standard, PCMCIA/JEIDA\fR