diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-06 21:19:20 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-07 01:19:56 +0100 |
commit | cda134ab1eac84f874aacf8e885a07112a7fd5ce (patch) | |
tree | 1c1739debf6148d09afd9f18cd61e1c2471fab94 /src/shared/copy.h | |
parent | 0c2576ef74a9f9b96519cdcb7f9c01742d8255e2 (diff) |
copy: teach copy_bytes() sendfile() support, and then replace sendfile_full() by it
Diffstat (limited to 'src/shared/copy.h')
-rw-r--r-- | src/shared/copy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/copy.h b/src/shared/copy.h index 6b93107fab..62932112af 100644 --- a/src/shared/copy.h +++ b/src/shared/copy.h @@ -24,6 +24,7 @@ #include <stdbool.h> #include <sys/types.h> +int copy_file_fd(const char *from, int to); int copy_file(const char *from, const char *to, int flags, mode_t mode); int copy_tree(const char *from, const char *to, bool merge); int copy_bytes(int fdf, int fdt, off_t max_bytes); |