PostGIS  2.1.10dev-r@@SVN_REVISION@@
int stringbuffer_getlength ( stringbuffer_t sb)

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

Definition at line 168 of file stringbuffer.c.

References stringbuffer_t::str_end, and stringbuffer_t::str_start.

Referenced by lwgeom_to_wkt().

169 {
170  return (s->str_end - s->str_start);
171 }
char * s
Definition: cu_in_wkt.c:24

Here is the caller graph for this function: