summaryrefslogtreecommitdiff
path: root/libbb/libbb.h
diff options
context:
space:
mode:
authorMatt Kraai2001-05-18 14:14:55 +0000
committerMatt Kraai2001-05-18 14:14:55 +0000
commitd6ef07406d217a728d334ae5e49c4734b4ed26f5 (patch)
tree61708f6aa1e598e454ff0be88793bf14d7833132 /libbb/libbb.h
parent69438154000344f0fc60b12c0d31b297c698b5f4 (diff)
downloadbusybox-d6ef07406d217a728d334ae5e49c4734b4ed26f5.zip
busybox-d6ef07406d217a728d334ae5e49c4734b4ed26f5.tar.gz
Rewrote copyfd to use library functions, terminate, and copy correct data.
Diffstat (limited to 'libbb/libbb.h')
-rw-r--r--libbb/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h
index 29a756b..4e324bf 100644
--- a/libbb/libbb.h
+++ b/libbb/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);