FACT++  1.0
void* arr_increase ( void *  conn_ptr,
int  conn_size,
int  n_conns 
)

Definition at line 126 of file conn_handler.c.

References CONN_BLOCK, and Curr_N_Conns.

Referenced by conn_get().

127 {
128  register char *new_ptr;
129 
130  new_ptr = realloc( conn_ptr, (size_t)(conn_size * n_conns) );
131  memset( new_ptr + conn_size * Curr_N_Conns, 0, (size_t)(conn_size * CONN_BLOCK) );
132  return(new_ptr);
133 }
DllExp DIM_NOSHARE int Curr_N_Conns
Definition: conn_handler.c:33
#define CONN_BLOCK
Definition: dim.h:162

+ Here is the caller graph for this function: