aboutsummaryrefslogtreecommitdiff
path: root/libbb/full_write.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-07-16 08:14:35 +0000
committerRob Landley <rob@landley.net>2006-07-16 08:14:35 +0000
commit534374755d618c9c36c9940c82756241c4b25a67 (patch)
treefac906b4fa40a68c53cecf20215a7a25b3b1cab6 /libbb/full_write.c
parentafb94ecf2bb6c53ce2a381d6ce45a426243c76d9 (diff)
downloadbusybox-w32-534374755d618c9c36c9940c82756241c4b25a67.tar.gz
busybox-w32-534374755d618c9c36c9940c82756241c4b25a67.tar.bz2
busybox-w32-534374755d618c9c36c9940c82756241c4b25a67.zip
Cleaup read() and write() variants, plus a couple of new functions like
xlseek and fdlength() for the new mkswap.
Diffstat (limited to 'libbb/full_write.c')
-rw-r--r--libbb/full_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/full_write.c b/libbb/full_write.c
index 3d6d40184..d812d04b4 100644
--- a/libbb/full_write.c
+++ b/libbb/full_write.c
@@ -16,7 +16,7 @@
16 * This does multiple writes as necessary. 16 * This does multiple writes as necessary.
17 * Returns the amount written, or -1 on an error. 17 * Returns the amount written, or -1 on an error.
18 */ 18 */
19ssize_t bb_full_write(int fd, const void *buf, size_t len) 19ssize_t full_write(int fd, const void *buf, size_t len)
20{ 20{
21 ssize_t cc; 21 ssize_t cc;
22 ssize_t total; 22 ssize_t total;