DSC Tech Library
FASTPLUS C Library
fpinfo_counts()
Function fpinfo_counts returns the index/key added and deleted counts.
The syntax for fpinfo_counts is as follows:
fpinfo_counts(int file_id, int index, int *counts)
int file_id - File unit of open file from previous
fpfile_open function.
int index - Index number to return counts on.
1 - 199 returns index counts
200 returns data record counts
int *counts - Returned added and deleted counts.
The possible values for fperrno and an explanation of each value follow.
Value
Explanation
--------------------------------------------------
FEROK - Code 0: Successful FASTPLUS Operation
FEROPN - Code 5: FAST file does not exist
FERUNT - Code 6: Illegal FAST file id
FERFHE - Code 9: System file error
FERIND - Code 10: Illegal index number
|