aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/full_write.c3
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 */
16ssize_t FAST_FUNC full_write(int fd, const void *buf, size_t len) 17ssize_t FAST_FUNC full_write(int fd, const void *buf, size_t len)
17{ 18{