xref: /illumos-gate/usr/src/man/man9f/csx_DeregisterClient.9f (revision b6805bf78d2bbbeeaea8909a05623587b42d58b3)
te
Copyright (c) 1996, 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_DEREGISTERCLIENT 9F "Jul 19, 1996"
NAME
csx_DeregisterClient - remove client from Card Services list
SYNOPSIS

#include <sys/pccard.h>



int32_t csx_DeregisterClient(client_handle_t ch);
INTERFACE LEVEL

Solaris DDI Specific (Solaris DDI)

PARAMETERS
ch

Client handle returned from csx_RegisterClient(9F).

DESCRIPTION

This function removes a client from the list of registered clients maintained by Card Services. The Client Handle returned by csx_RegisterClient(9F) is passed in the client_handle_t argument.

The client must have returned all requested resources before this function is called. If any resources have not been released, CS_IN_USE is returned.

RETURN VALUES
CS_SUCCESS

Successful operation.

CS_BAD_HANDLE

Client handle is invalid.

CS_IN_USE

Resources not released by this client.

CS_UNSUPPORTED_FUNCTION

No PCMCIA hardware installed.

CONTEXT

This function may be called from user or kernel context.

SEE ALSO

csx_RegisterClient(9F)

PC Card 95 Standard, PCMCIA/JEIDA

WARNINGS

Clients should be prepared to receive callbacks until Card Services returns from this request successfully.