diff options
author | Matt Kraai <kraai@debian.org> | 2000-12-15 22:34:34 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-12-15 22:34:34 +0000 |
commit | bfa7967c4a18c9a7addbe853cf9f736ac34b4e5b (patch) | |
tree | 8269fa410bbc0b34bcd732c08054dca087b07ba3 /include/busybox.h | |
parent | 8677d7b6ec95cc9fa5c98b077680fc7ed4254d40 (diff) | |
download | busybox-w32-bfa7967c4a18c9a7addbe853cf9f736ac34b4e5b.tar.gz busybox-w32-bfa7967c4a18c9a7addbe853cf9f736ac34b4e5b.tar.bz2 busybox-w32-bfa7967c4a18c9a7addbe853cf9f736ac34b4e5b.zip |
Rewrite nc to be simpler, smaller, and to check syscalls for errors.
Diffstat (limited to 'include/busybox.h')
-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, |