diff options
author | Denis Vlasenko | 2007-05-31 22:16:38 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-05-31 22:16:38 +0000 |
commit | fad2b86c9e7eaadb973b50a1bc0e2accc1a96cfd (patch) | |
tree | f2d3fe127fb6c3c1d3b919631de6e6ed7cbc1791 /libbb/safe_write.c | |
parent | c2f011aa031b8598422953d5e9a93ca008ad0867 (diff) | |
download | busybox-fad2b86c9e7eaadb973b50a1bc0e2accc1a96cfd.zip busybox-fad2b86c9e7eaadb973b50a1bc0e2accc1a96cfd.tar.gz |
use "glibc errno" trick not only for ash, but for entire busybox
(add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
Diffstat (limited to 'libbb/safe_write.c')
-rw-r--r-- | libbb/safe_write.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libbb/safe_write.c b/libbb/safe_write.c index c81f124..5bbb82e 100644 --- a/libbb/safe_write.c +++ b/libbb/safe_write.c @@ -7,13 +7,8 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include <stdio.h> -#include <errno.h> -#include <unistd.h> #include "libbb.h" - - ssize_t safe_write(int fd, const void *buf, size_t count) { ssize_t n; |