PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ stringbuffer_getlength()

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 138 of file stringbuffer.c.

139 {
140  return (s->str_end - s->str_start);
141 }
char * s
Definition: cu_in_wkt.c:23

References s.

Referenced by lwgeom_to_wkt().

Here is the caller graph for this function: