From a1070d4cbbf1002cc0b01afc3de06382deb0511a Mon Sep 17 00:00:00 2001 From: Mike Ralphson Date: Tue, 3 Mar 2009 19:29:22 +0000 Subject: Documentation: Typo / spelling / formatting fixes Signed-off-by: Mike Ralphson Signed-off-by: Junio C Hamano --- Documentation/technical/api-strbuf.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation/technical') diff --git a/Documentation/technical/api-strbuf.txt b/Documentation/technical/api-strbuf.txt index ac56d1c47..743814924 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. -- cgit v1.2.1