File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ use the mem* functions than a str* one (memchr vs. strchr e.g.).
77Though, one has to be careful about the fact that str* functions often
88stop on NULs and that strbufs may have embedded NULs.
99
10- An strbuf is NUL terminated for convenience, but no function in the
10+ A strbuf is NUL terminated for convenience, but no function in the
1111strbuf API actually relies on the string being free of NULs.
1212
13- strbufs has some invariants that are very important to keep in mind:
13+ strbufs have some invariants that are very important to keep in mind:
1414
1515. The `buf` member is never NULL, so it can be used in any usual C
1616string operations safely. strbuf's _have_ to be initialized either by
@@ -56,8 +56,8 @@ Data structures
5656* `struct strbuf`
5757
5858This is the string buffer structure. The `len` member can be used to
59- determine the current length of the string, and `buf` member provides access to
60- the string itself.
59+ determine the current length of the string, and `buf` member provides
60+ access to the string itself.
6161
6262Functions
6363---------
@@ -184,7 +184,7 @@ strbuf_addstr(sb, "immediate string");
184184
185185`strbuf_addbuf`::
186186
187- Copy the contents of an other buffer at the end of the current one.
187+ Copy the contents of another buffer at the end of the current one.
188188
189189`strbuf_adddup`::
190190
You can’t perform that action at this time.
0 commit comments