DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

ReleaseIO(D3pccard)


ReleaseIO -- unbind an I/O address from a client

Synopsis

   #include <sys/types.h>
   #include <sys/lcs.h>
   #include <sys/lss.h>
   

int CardServices (ReleaseIO, ClientHandle_t *pClientHandle, int n1, int RelReqIOLen, RelReqIO_t *pRelReqIO, rm_key_t key);

Description

ReleaseIO( ) requests CardServices to access its resource configuration table and unbind I/O addresses that a Client had previously requested bound to itself with the RequestIO(D3pccard) service.

Arguments


pClientHandle
Pointer to a ClientHandle(D4pccard) structure.

n1
NULL

RelReqIOLen
Length of the RelReqIO(D4pccard) structure. Must be set to 11.

pRelReqIO
Pointer to a RelReqIO(D4pccard) structure.

key
Resource manager key.

Return values


BAD_ARG_LENGTH
RelReqIOLen not equal to 11.

BAD_ARGS
I/O requested does not match entry in coniguration table.

BAD_HANDLE
*pClientHandle does not point to registered owner or there are no I/O addresses to unbind.

BAD_SOCKET
Socket not valid.

CONFIGURATION_LOCKED
Configuration still effective.

SUCCESS
I/O address(es) unbound from client.

Usage

ReleaseIO( ) is called as part of client removal to release an I/O address that was allocated with the RequestIO(D3pccard) service. The ReleaseIO service can not override an active configuration. The ReleaseConfiguration(D3pccard) service must be invoked before using the ReleaseIO service. This service is for 16 bit cards only.

Context and synchronization

Interrupt, initialization, or user context

Hardware applicability

16-bit PC Card only.

Version applicability

pccard: 1, 2, 3

References

ClientHandle(D4pccard), RelReqIO(D4pccard), RequestIO(D3pccard)

config(D2pccard), halt(D2pccard), _unload(D2pccard)


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005