Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbBlobAlloc

Allocate a new blob type.

Declaration

pCTBLOB ctdbBlobAlloc(VRLEN size)

Description

ctdbBlobAlloc() allocates a new blob type.

  • size [in] the size in bytes to allocate for the blob data.

The blob is released by calling ctdbBlobFree(). Do not release the blob by calling the C runtime library function free().

Returns

ctdbBlobAlloc() returns the blob pointer, or NULL on failure.

See also

ctdbBlobFree()

TOCIndex