Difference between revisions of "BLOB RECLAIM()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) m (Text replace - "lianjaapi.h" to "lianja_api.h") |
||
Line 7: | Line 7: | ||
==SYNOPSIS== | ==SYNOPSIS== | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
int BLOB_RECLAIM(fldname) | int BLOB_RECLAIM(fldname) | ||
Line 25: | Line 25: | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
lianjaapi_blob_reclaim() | lianjaapi_blob_reclaim() |
Latest revision as of 06:44, 11 April 2013
PURPOSE
Reclaim the space occupied in the memo file
SYNONYM
api_blob_reclaim()
SYNOPSIS
#include "lianja_api.h" int BLOB_RECLAIM(fldname) <input parameters> char *fldname; /* Address of a buffer containing a blob field name */ <output parameters> none
DESCRIPTION
The BLOB_RECLAIM() function reclaims the space occupied by a blob in the memo file for the specified field in the current record.
EXAMPLE
The following example deletes the blob on the current record for the blob field specified in the first parameter passed.
#include "lianja_api.h" lianjaapi_blob_reclaim() { int rc; if (_parinfo(1) == API_CTYPE) { rc = BLOB_RECLAIM(_parc(1)); } else { rc = -1; } _retni( rc ) }