PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ stringbuffer_getlength()

int stringbuffer_getlength ( stringbuffer_t s)

Returns the length of the current string, not including the null terminator (same behavior as strlen()).

Definition at line 174 of file stringbuffer.c.

175 {
176  return (s->str_end - s->str_start);
177 }
char * s
Definition: cu_in_wkt.c:23

References s.

Referenced by lwgeom_to_wkt().

Here is the caller graph for this function: