index a9668e5f2d2b1a7ffac45e4111ca6d8a4818af2b..4242dc01426b46d62bfb7da9f51100c23df2a972 100644 (file)
buffer from its strbuf shell in a safe way. That is the sole supported
way. This will give you a malloced buffer that you can later `free()`.
+
-However, it it totally safe to modify anything in the string pointed by
+However, it is totally safe to modify anything in the string pointed by
the `buf` member, between the indices `0` and `len-1` (inclusive).
. The `buf` member is a byte array that has at least `len + 1` bytes