GString.len

contains the length of the string, not including the terminating nul byte.

struct GString
size_t len;

Meta