Mission Base

Program Base Library Functions

long pblKfGetRel

( pblKeyFile_t* k, long relindex, void* okey,
  size_t* okeylen )

Set current record to a record with a relative position index.

Documentation

Set current record to a record with a relative position index.

This function is only to be used through the macro functions:


pblKfThis( k, okey, okeylen ) read key of current record
pblKfNext( k, okey, okeylen ) read key of next record
pblKfPrev( k, okey, okeylen ) read key of previous record

Parameters:
k - key file to position in
relindex - index relative to current record
okey - buffer for result key
okeylen - length of the result key after return
Returns:
long rc >= 0:
long rc < 0:

Alphabetic index



This page was generated with the help of DOC++.