1 '\" te
   2 .\"  Copyright (c) 1996, 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_DEREGISTERCLIENT 9F "Jul 19, 1996"
   7 .SH NAME
   8 csx_DeregisterClient \- remove client from Card Services list
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 #include <sys/pccard.h>
  13 
  14 
  15 
  16 \fBint32_t\fR \fBcsx_DeregisterClient\fR(\fBclient_handle_t\fR \fIch\fR);
  17 .fi
  18 
  19 .SH INTERFACE LEVEL
  20 .sp
  21 .LP
  22 Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR
  23 .SH PARAMETERS
  24 .sp
  25 .ne 2
  26 .na
  27 \fB\fIch\fR \fR
  28 .ad
  29 .RS 7n
  30 Client handle returned from \fBcsx_RegisterClient\fR(9F).
  31 .RE
  32 
  33 .SH DESCRIPTION
  34 .sp
  35 .LP
  36 This function removes a client from the list of registered clients maintained
  37 by Card Services. The Client Handle returned by \fBcsx_RegisterClient\fR(9F) is
  38 passed in the \fBclient_handle_t\fR argument.
  39 .sp
  40 .LP
  41 The client must have returned all requested resources before this function is
  42 called. If any resources have not been released, \fBCS_IN_USE\fR is returned.
  43 .SH RETURN VALUES
  44 .sp
  45 .ne 2
  46 .na
  47 \fB\fBCS_SUCCESS\fR \fR
  48 .ad
  49 .RS 28n
  50 Successful operation.
  51 .RE
  52 
  53 .sp
  54 .ne 2
  55 .na
  56 \fB\fBCS_BAD_HANDLE\fR \fR
  57 .ad
  58 .RS 28n
  59 Client handle is invalid.
  60 .RE
  61 
  62 .sp
  63 .ne 2
  64 .na
  65 \fB\fBCS_IN_USE\fR \fR
  66 .ad
  67 .RS 28n
  68 Resources not released by this client.
  69 .RE
  70 
  71 .sp
  72 .ne 2
  73 .na
  74 \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR
  75 .ad
  76 .RS 28n
  77 No \fBPCMCIA \fRhardware installed.
  78 .RE
  79 
  80 .SH CONTEXT
  81 .sp
  82 .LP
  83 This function may be called from user or kernel context.
  84 .SH SEE ALSO
  85 .sp
  86 .LP
  87 \fBcsx_RegisterClient\fR(9F)
  88 .sp
  89 .LP
  90 \fIPC Card 95 Standard, PCMCIA/JEIDA\fR
  91 .SH WARNINGS
  92 .sp
  93 .LP
  94 Clients should be prepared to receive callbacks until Card Services returns
  95 from this request successfully.