summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e1e4389)
raw | patch | inline | side by side (parent: e1e4389)
author | Guanqun Lu <guanqun.lu@gmail.com> | |
Wed, 4 Feb 2009 21:00:40 +0000 (05:00 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 4 Feb 2009 06:09:03 +0000 (22:09 -0800) |
Signed-off-by: Guanqun Lu <guanqun.lu@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-strbuf.txt | patch | blob | history |
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