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

RequestExclusive(D3pccard)


RequestExclusive -- request exclusive use of card in a socket

Synopsis (Unsupported service)

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

int CardServices (RequestExclusive, ClientHandle_t *pClientHandle, int n1, int RelReqExclusiveLen, RelReqExclusive_t *pRelReqExclusive, rm_key_t key);

Description

RequestExclusive( ) is used by a Client to request CardServices to grant it monopoly of use of a card in a socket. CardServices checks with the other registered Clients to see if another Client still wants access to the card. If so, CardServices refuses the RequestExclusive request.

Arguments


pClientHandle
Pointer to a ClientHandle(D4pccard) structure.

n1
NULL

RelReqExclusiveLen
Length of the RelReqExclusive(D4pccard) structure.

pRelReqExclusive
Pointer to a RelReqExclusive(D4pccard) structure.

key
Resource manager key.

Return values


UNSUPPORTED_SERVICE
Service not currently supported.

Usage

The return from the service does not include an indication of whether the request for exclusive use was granted but the grant or denial is passed to the client's callback handler instead.

Context and synchronization

Interrupt, initialization, or user context

Hardware applicability

All

Version applicability

pccard: 3

References

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