sds_relrb

int sds_relrb (struct sds_resbuf *buffer);


Release this result buffer.


This function releases a result buffer structure, as well as all following result buffers that appear in a linked list. Use this function each time you are done with a result buffer.

The argument buffer is the result buffer to be freed.

This function returns RTNORM or an error code.

Example

struct sds_resbuf *entlist = NULL;

. . .

if (entlist != NULL) // If there's anything in the entlist...

sds_relrb(entlist); // Release it.

entlist = NULL; // Make it a NULL pointer - a good idea.

Tell me about...

Programming Overview of SDS™ (Solutions Development System™)