Skip to content
Snippets Groups Projects
Unverified Commit 55a5eb80 authored by Yuki Okushi's avatar Yuki Okushi Committed by GitHub
Browse files

Merge pull request #1704 from slp/copy_file_range

Add copy_file_range to linux_like
parents 783ddd8e 82f07070
No related branches found
No related tags found
No related merge requests found
......@@ -1198,6 +1198,14 @@ extern "C" {
pub fn ntp_adjtime(buf: *mut timex) -> ::c_int;
#[link_name = "ntp_gettimex"]
pub fn ntp_gettime(buf: *mut ntptimeval) -> ::c_int;
pub fn copy_file_range(
fd_in: ::c_int,
off_in: *mut ::off64_t,
fd_out: ::c_int,
off_out: *mut ::off64_t,
len: ::size_t,
flags: ::c_uint,
) -> ::ssize_t;
}
#[link(name = "util")]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment