PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwstrdup()

char* lwstrdup ( const char *  a)

Definition at line 254 of file lwutil.c.

255 {
256  size_t l = strlen(a)+1;
257  char *b = lwalloc(l);
258  strncpy(b, a, l);
259  return b;
260 }
void * lwalloc(size_t size)
Definition: lwutil.c:227

References lwalloc().

Referenced by gbox_to_string(), and stringlist_add_string_internal().

Here is the call graph for this function:
Here is the caller graph for this function: