PostGIS
3.4.0dev-r@@SVN_REVISION@@
◆
rtstrdup()
char* rtstrdup
(
const char *
str
)
Definition at line
263
of file
rt_context.c
.
263
{
264
size_t
sz;
265
char
* dup;
266
if
(!
str
)
return
NULL;
267
sz = strlen(
str
) + 1;
268
dup =
rtalloc
(sz);
269
memcpy(dup,
str
, sz);
270
return
dup;
271
}
str
#define str(s)
Definition:
lwgeom_functions_basic.c:44
rtalloc
void * rtalloc(size_t size)
Raster core memory management functions.
Definition:
rt_context.c:191
References
rtalloc()
, and
str
.
Here is the call graph for this function:
raster
rt_core
librtcore.h
Generated by
1.9.1