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.).
7
7
Though, one has to be careful about the fact that str* functions often
8
8
stop on NULs and that strbufs may have embedded NULs.
9
9
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
11
11
strbuf API actually relies on the string being free of NULs.
12
12
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:
14
14
15
15
. The `buf` member is never NULL, so it can be used in any usual C
16
16
string operations safely. strbuf's _have_ to be initialized either by
@@ -56,8 +56,8 @@ Data structures
56
56
* `struct strbuf`
57
57
58
58
This 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.
61
61
62
62
Functions
63
63
---------
@@ -184,7 +184,7 @@ strbuf_addstr(sb, "immediate string");
184
184
185
185
`strbuf_addbuf`::
186
186
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.
188
188
189
189
`strbuf_adddup`::
190
190
You can’t perform that action at this time.
0 commit comments