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

GetTupleData(D3pccard)


GetTupleData -- return data from the current tuple body

Synopsis

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

int CardServices (GetTupleData, int n1, int n2, int TupleDataLen, Tuple_t *pTupleData, rm_key_t key);

Description

GetTupleData( ) returns contiguous data bytes from the tuple body of the last tuple returned by GetFirstTuple(D3pccard) or GetNextTuple(D3pccard).

Arguments


n1
NULL

n2
NULL

TupleDataLen
Length of the Tuple(D4pccard) structure.

pTupleData
Pointer to a Tuple(D4pccard) structure.

key
Resource manager key.

Return values


BAD_ARG_LENGTH
TupleDataLen is less than 20.

BAD_ARGS
Last GetFirstTuple or GetNextTuple operation invalid.

BAD_SOCKET
Socket or function invalid.

NO_CARD
Card is not inserted in socket.

NO_MORE_ITEMS
End of tuple data.

OUT_OF_RESOURCE
Resources not available.

SUCCESS
Data bytes of tuple returned successfully.

Usage

GetTupleData( ) is called as part of client initialization and configuration.

Context and synchronization

Interrupt, initialization, or user context

Hardware applicability

All

Version applicability

pccard: 1, 2, 3

References

GetFirstTuple(D3pccard), GetNextTuple(D3pccard), Tuple(D4pccard)

config(D2pccard), init(D2pccard), _load(D2pccard)


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