xref: /third_party/musl/src/linux/copy_file_range.c (revision 570af302)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/linux/
1#define _GNU_SOURCE
2#include <unistd.h>
3#include "syscall.h"
4
5ssize_t copy_file_range(int fd_in, off_t *off_in, int fd_out, off_t *off_out, size_t len, unsigned flags)
6{
7	return syscall(SYS_copy_file_range, fd_in, off_in, fd_out, off_out, len, flags);
8}
9

Indexes created Thu Nov 07 10:32:03 CST 2024