xref: /illumos-gate/usr/src/man/man9f/csx_SetHandleOffset.9f (revision 66597161e2ba69a84fa138bce7ac02a1e6b9746c)
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_SETHANDLEOFFSET 9F "May 16, 1997"
NAME
csx_SetHandleOffset - set current access handle offset
SYNOPSIS
#include <sys/pccard.h>



int32_t csx_SetHandleOffset(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

New access handle offset.

DESCRIPTION
This function sets the current offset for the access handle, handle, to offset.
RETURN VALUES
CS_SUCCESS

Successful operation.

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

PC Card 95 Standard, PCMCIA/JEIDA