xref: /titanic_41/usr/src/man/man9f/csx_GetHandleOffset.9f (revision 6a1af1a67532df169a657cce07140be64bdea084)
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 "16 May 1997" "SunOS 5.11" "Kernel Functions for Drivers"
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

Solaris DDI Specific (Solaris 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