summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen2001-05-15 17:48:09 +0000
committerEric Andersen2001-05-15 17:48:09 +0000
commit55f9872616f0c42f3fb712cfb7f9d0bb52c8afcb (patch)
tree4dc106a5142e993d2a5e9bad32f2fcd53555047c /include
parentc911a4389bbaa5ac85d725c8c05e452dfba8583d (diff)
downloadbusybox-55f9872616f0c42f3fb712cfb7f9d0bb52c8afcb.zip
busybox-55f9872616f0c42f3fb712cfb7f9d0bb52c8afcb.tar.gz
This patch from Adam Heath <doogie@debian.org>, makes print_file
(used by cat, grep, sed, etc) quite a bit faster.
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index f34bee8..7ab0638 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -128,6 +128,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 print_file_by_name(char *filename);
extern char process_escape_sequence(const char **ptr);
extern char *get_last_path_component(char *path);