src/lib/mem_pool.c
int pm_strcpy(POOLMEM **pm, const char *str)
{
   int len;

   if (!str) str = "";

   len = strlen(str) + 1;
   *pm = check_pool_memory_size(*pm, len);
   memcpy(*pm, str, len);
   return len - 1;
}
/*
 * Copy a string (str) into a pool memory buffer pm
 *   Returns: length of string copied
 */
Copy a string (str) into a pool memory buffer pm
Returns: length of string copied
Copy a string ( str ) into a pool memory buffer pm Returns : length of string copied
int pm_strcpy(POOLMEM **pm, const char *str)
{
   int len;
   if (!str) str = "";
   len = strlen(str) + 1;
   *pm = check_pool_memory_size(*pm, len);
   memcpy(*pm, str, len);
   return len - 1;
}
int pm_strcpy ( POOLMEM * * pm , const char * str ) { int len ; if ( ! str ) str = " " ; len = strlen ( str ) + 1 ; * pm = check_pool_memory_size ( * pm , len ) ; memcpy ( * pm , str , len ) ; return len - 1 ; }
Copy a string (str) into a pool memory buffer pm
   Returns: length of string copied
Copy a string ( str ) into a pool memory buffer pm Returns : length of string copied