diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/full_write.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/full_write.c b/libbb/full_write.c index 2b7983f4c..15766fc6c 100644 --- a/libbb/full_write.c +++ b/libbb/full_write.c | |||
@@ -11,7 +11,8 @@ | |||
11 | /* | 11 | /* |
12 | * Write all of the supplied buffer out to a file. | 12 | * Write all of the supplied buffer out to a file. |
13 | * This does multiple writes as necessary. | 13 | * This does multiple writes as necessary. |
14 | * Returns the amount written, or -1 on an error. | 14 | * Returns the amount written, or -1 if error was seen |
15 | * on the very first write. | ||
15 | */ | 16 | */ |
16 | ssize_t FAST_FUNC full_write(int fd, const void *buf, size_t len) | 17 | ssize_t FAST_FUNC full_write(int fd, const void *buf, size_t len) |
17 | { | 18 | { |