src/lib/mem_pool.c
int pm_strcat(POOLMEM **pm, const char *str)
{
   int pmlen = strlen(*pm);
   int len;

   if (!str) str = "";

   len = strlen(str) + 1;
   *pm = check_pool_memory_size(*pm, pmlen + len);
   memcpy(*pm+pmlen, str, len);
   return pmlen + len - 1;
}
/*
 * Concatenate a string (str) onto a pool memory buffer pm
 *   Returns: length of concatenated string
 */
Concatenate a string (str) onto a pool memory buffer pm
Returns: length of concatenated string
Concatenate a string ( str ) onto a pool memory buffer pm Returns : length of concatenated string
int pm_strcat(POOLMEM **pm, const char *str)
{
   int pmlen = strlen(*pm);
   int len;
   if (!str) str = "";
   len = strlen(str) + 1;
   *pm = check_pool_memory_size(*pm, pmlen + len);
   memcpy(*pm+pmlen, str, len);
   return pmlen + len - 1;
}
int pm_strcat ( POOLMEM * * pm , const char * str ) { int pmlen = strlen ( * pm ) ; int len ; if ( ! str ) str = " " ; len = strlen ( str ) + 1 ; * pm = check_pool_memory_size ( * pm , pmlen + len ) ; memcpy ( * pm + pmlen , str , len ) ; return pmlen + len - 1 ; }
Concatenate a string (str) onto a pool memory buffer pm
   Returns: length of concatenated string
Concatenate a string ( str ) onto a pool memory buffer pm Returns : length of concatenated string