chiark / gitweb /
copy: teach copy_bytes() sendfile() support, and then replace sendfile_full() by it
[elogind.git] / src / shared / copy.h
index 6b93107fabe26e5170dba9183d427d18ec7ef0b6..62932112afe571d904e988b5729846f79c633262 100644 (file)
@@ -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);