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 “c-tree Plus Error Codes” in the c-tree Plus Programmer’s Reference Guide for a complete listing of valid c-tree Plus error values.

Example

  
COUNT     filno;
pVOID     target, bufptr;
LONG      recbyt;
VRLEN     bufsiz;
UCOUNT    mode;

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

FreeHistory();

See also

TransactionHistory(), ChangeHistory()