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

GetFirstClient(D3pccard)


GetFirstClient -- identify first client registered on the system

Synopsis

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

int CardServices (GetFirstClient, Client_Handle_t *h, int n1, int FirstClientLen, GetFirstNextClient_t *fncl, rm_key_t key);

Description

GetFirstClient( ) checks which Clients have registered themselves with CardServices( ) and returns the ClientHandle(D4pccard) of the first client that had done so.

Arguments


h
Pointer to ClientHandle(D4pccard) structure.

n1
NULL

FirstClientLen
Length of the GetFirstNextClient(D4pccard) structure.

fncl
Pointer to GetFirstNextClient(D4pccard) structure.

key
Resource manager key.

Return values


SUCCESS
ClientHandle of the first registered client returned successfully.

NO_MORE_ITEMS
CardServices has no registered clients.

Usage

Context and synchronization

User context

Hardware applicability

All

Version applicability

pccard: 1, 2, 3

References

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