From ea00fbf6c0a74bb6be70423fbb13beb70dd9faba Mon Sep 17 00:00:00 2001 From: kraai Date: Fri, 18 May 2001 14:14:55 +0000 Subject: Rewrote copyfd to use library functions, terminate, and copy correct data. git-svn-id: svn://busybox.net/trunk/busybox@2672 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- include/libbb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 29a756b7f..4e324bf86 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -133,7 +133,7 @@ extern pid_t* find_pid_by_name( char* pidName); extern char *find_real_root_device_name(const char* name); extern char *get_line_from_file(FILE *file); extern void print_file(FILE *file); -extern size_t copyfd(int fd1, int fd2); +extern int copyfd(int fd1, int fd2); extern int print_file_by_name(char *filename); extern char process_escape_sequence(const char **ptr); extern char *get_last_path_component(char *path); -- cgit v1.2.3-55-g6feb