PostGIS
2.4.9dev-r@@SVN_REVISION@@
◆
rtpg_strrstr()
char* rtpg_strrstr
(
const char *
s1
,
const char *
s2
)
Definition at line
265
of file
rtpg_internal.c
.
References
s
.
Referenced by
RASTER_reclass()
.
265
{
266
int
s1len = strlen(s1);
267
int
s2len = strlen(s2);
268
char
*
s
;
269
270
if
(s2len > s1len)
271
return
NULL;
272
273
s = (
char
*) (s1 + s1len - s2len);
274
for
(; s >= s1; --
s
)
275
if
(strncmp(s, s2, s2len) == 0)
276
return
s;
277
278
return
NULL;
279
}
s
char * s
Definition:
cu_in_wkt.c:23
Here is the caller graph for this function:
raster
rt_pg
rtpg_internal.h
Generated by
1.8.13