Changes the size of a block of allocated memory. This function calls the standard realloc() C function and terminates the slapd server with an "out of memory" error message if memory cannot be allocated.
Syntax
#include "slapi-plugin.h"
char * slapi_ch_realloc( char *block, unsigned long size );
Parameters
The function has the following parameters:
Returns
Pointer to the reallocated space of memory. If space cannot be allocated (for example, if no more virtual memory exists), the slapd program terminates.
Example
[To be added]
See Also