From bfa7967c4a18c9a7addbe853cf9f736ac34b4e5b Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Fri, 15 Dec 2000 22:34:34 +0000 Subject: Rewrite nc to be simpler, smaller, and to check syscalls for errors. --- include/busybox.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); char *getChunk(int size); char *chunkstrdup(const char *str); void freeChunks(void); +ssize_t safe_read(int fd, void *buf, size_t count); int full_write(int fd, const char *buf, int len); int full_read(int fd, char *buf, int len); int recursive_action(const char *fileName, int recurse, int followLinks, int depthFirst, -- cgit v1.2.3