15 int64_t copy_fd_to_fd(
int in,
int out);
16 int64_t copy_fd_to_stream(
int fd, FILE *output);
18 int64_t copy_file_to_file(
const char *input,
const char *output);
19 int64_t copy_file_to_buffer(
const char *path,
char **
buffer,
size_t *len);
21 int64_t copy_stream_to_buffer(FILE *input,
char **
buffer,
size_t *len);
22 int64_t copy_stream_to_fd(FILE *input,
int fd);
23 int64_t copy_stream_to_stream(FILE *input, FILE *output);