diff options
author | Mike Ralphson <mike@abacus.co.uk> | 2009-03-03 20:29:22 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-04 06:43:19 +0100 |
commit | a1070d4cbbf1002cc0b01afc3de06382deb0511a (patch) | |
tree | d38bcbf550f7eeaab6575e4804a3697152407d3f /Documentation/technical/api-strbuf.txt | |
parent | Documentation: Expand a couple of abbreviations (diff) | |
download | git-a1070d4cbbf1002cc0b01afc3de06382deb0511a.tar.xz git-a1070d4cbbf1002cc0b01afc3de06382deb0511a.zip |
Documentation: Typo / spelling / formatting fixes
Signed-off-by: Mike Ralphson <mike@abacus.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r-- | Documentation/technical/api-strbuf.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/technical/api-strbuf.txt b/Documentation/technical/api-strbuf.txt index ac56d1c477..7438149249 100644 --- a/Documentation/technical/api-strbuf.txt +++ b/Documentation/technical/api-strbuf.txt @@ -222,7 +222,7 @@ which can be used by the programmer of the callback as she sees fit. Read a given size of data from a FILE* pointer to the buffer. + -NOTE: The buffer is rewinded if the read fails. If -1 is returned, +NOTE: The buffer is rewound if the read fails. If -1 is returned, `errno` must be consulted, like you would do for `read(3)`. `strbuf_read()`, `strbuf_read_file()` and `strbuf_getline()` has the same behaviour as well. |