diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-15 22:34:34 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-15 22:34:34 +0000 |
commit | 001b7f983a74d9cbe6322dd38b64449498897927 (patch) | |
tree | 8269fa410bbc0b34bcd732c08054dca087b07ba3 /include | |
parent | 5c79da530e4c241db4ee1d62b6456ca74e65573a (diff) | |
download | busybox-w32-001b7f983a74d9cbe6322dd38b64449498897927.tar.gz busybox-w32-001b7f983a74d9cbe6322dd38b64449498897927.tar.bz2 busybox-w32-001b7f983a74d9cbe6322dd38b64449498897927.zip |
Rewrite nc to be simpler, smaller, and to check syscalls for errors.
git-svn-id: svn://busybox.net/trunk/busybox@1464 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r-- | include/busybox.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/busybox.h b/include/busybox.h index 41421ae56..5ff3975b9 100644 --- a/include/busybox.h +++ b/include/busybox.h | |||
@@ -147,6 +147,7 @@ int makeString(int argc, const char **argv, char *buf, int bufLen); | |||
147 | char *getChunk(int size); | 147 | char *getChunk(int size); |
148 | char *chunkstrdup(const char *str); | 148 | char *chunkstrdup(const char *str); |
149 | void freeChunks(void); | 149 | void freeChunks(void); |
150 | ssize_t safe_read(int fd, void *buf, size_t count); | ||
150 | int full_write(int fd, const char *buf, int len); | 151 | int full_write(int fd, const char *buf, int len); |
151 | int full_read(int fd, char *buf, int len); | 152 | int full_read(int fd, char *buf, int len); |
152 | int recursive_action(const char *fileName, int recurse, int followLinks, int depthFirst, | 153 | int recursive_action(const char *fileName, int recurse, int followLinks, int depthFirst, |