PostGIS
3.0.6dev-r@@SVN_REVISION@@
◆
lwstrdup()
char* lwstrdup
(
const char *
a
)
Definition at line
248
of file
lwutil.c
.
249
{
250
size_t
l = strlen(a)+1;
251
char
*b =
lwalloc
(l);
252
strncpy(b, a, l);
253
return
b;
254
}
lwalloc
void * lwalloc(size_t size)
Definition:
lwutil.c:227
References
lwalloc()
.
Referenced by
gbox_to_string()
.
Here is the call graph for this function:
Here is the caller graph for this function:
liblwgeom
lwutil.c
Generated by
1.9.1