Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

FreeHistory

Free space allocated for multiple history buffers.

Short Name

FREHST()

Type

ISAM function

Declaration

COUNT FreeHistory()

Description

FreeHistory() frees the space allocated for multiple, simultaneous history buffers.

Return

FreeHistory() should always return a zero NO_ERROR (0) value. Even if FreeHistory() is called when no buffers are allocated, it will simply return a zero without attempting to free any space. See FairCom DB Error Codes for a complete listing of valid FairCom DB error values.

Example

FILNO filno;

pVOID target, bufptr;

LONG recbyt;

VRLEN bufsiz;

UCOUNT mode;


TransactionHistory(filno,target,bufptr,recbyt,bufsiz,mode);


FreeHistory();

See also

TransactionHistory(), ChangeHistory()

TOCIndex