xref: /illumos-gate/usr/src/man/man9f/csx_GetHandleOffset.9f (revision 8119dad84d6416f13557b0ba8e2aaf9064cbcfd3)
te
Copyright (c) 1997, Sun Microsystems, Inc. All Rights Reserved
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. 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 the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
CSX_GETHANDLEOFFSET 9F "May 16, 1997"
NAME
csx_GetHandleOffset - return current access handle offset
SYNOPSIS
#include <sys/pccard.h>

int32_t csx_GetHandleOffset(acc_handle_t handle, uint32_t *offset);
INTERFACE LEVEL
illumos DDI Specific (illumos DDI)
PARAMETERS
handle

Access handle returned by csx_RequestIRQ(9F) or csx_RequestIO(9F).

offset

Pointer to a uint32_t in which the current access handle offset is returned.

DESCRIPTION
This function returns the current offset for the access handle, handle, in offset.
RETURN VALUES
CS_SUCCESS

Successful operation.

CONTEXT
This function may be called from user or kernel context.
SEE ALSO
csx_RequestIO (9F), csx_RequestIRQ (9F), csx_SetHandleOffset (9F)

PC Card 95 Standard, PCMCIA/JEIDA