mpool_close()

free memory pool data 

Function


SYNOPSIS

#include <db.h>

#include <mpool.h>

int mpool_close(MPOOL *mp);


DESCRIPTION

The mpool_close() function frees any allocated memory associated with the memory pool. Modified pages are not written to the backing file.


PARAMETERS

mp 

Points to the memory pool whose data is to be freed. This must be a pointer returned by a prior call to mpool_open().


RETURN VALUES

On success, mpool_close() return 0. Otherwise, it returns -1.


CONFORMANCE

4.4BSD.


MULTITHREAD SAFETY LEVEL

Unsafe.


PORTING ISSUES

None


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
mpool_filter(), mpool_get(), mpool_new(), mpool_open(), mpool_put(), mpool_sync()


PTC MKS Toolkit 10.3 Documentation Build 39.