From d6ef07406d217a728d334ae5e49c4734b4ed26f5 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Fri, 18 May 2001 14:14:55 +0000 Subject: Rewrote copyfd to use library functions, terminate, and copy correct data. --- 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 29a756b..4e324bf 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.1