File tree 3 files changed +9
-17
lines changed
src/unix/linux_like/linux
3 files changed +9
-17
lines changed Original file line number Diff line number Diff line change @@ -1212,14 +1212,6 @@ extern "C" {
1212
1212
pub fn ntp_gettime ( buf : * mut ntptimeval ) -> :: c_int ;
1213
1213
pub fn clock_adjtime ( clk_id : :: clockid_t , buf : * mut :: timex ) -> :: c_int ;
1214
1214
1215
- pub fn copy_file_range (
1216
- fd_in : :: c_int ,
1217
- off_in : * mut :: off64_t ,
1218
- fd_out : :: c_int ,
1219
- off_out : * mut :: off64_t ,
1220
- len : :: size_t ,
1221
- flags : :: c_uint ,
1222
- ) -> :: ssize_t ;
1223
1215
pub fn fanotify_mark (
1224
1216
fd : :: c_int ,
1225
1217
flags : :: c_uint ,
Original file line number Diff line number Diff line change @@ -4702,6 +4702,15 @@ extern "C" {
4702
4702
longopts : * const option ,
4703
4703
longindex : * mut :: c_int ,
4704
4704
) -> :: c_int ;
4705
+
4706
+ pub fn copy_file_range (
4707
+ fd_in : :: c_int ,
4708
+ off_in : * mut :: off64_t ,
4709
+ fd_out : :: c_int ,
4710
+ off_out : * mut :: off64_t ,
4711
+ len : :: size_t ,
4712
+ flags : :: c_uint ,
4713
+ ) -> :: ssize_t ;
4705
4714
}
4706
4715
4707
4716
cfg_if ! {
Original file line number Diff line number Diff line change @@ -773,15 +773,6 @@ extern "C" {
773
773
774
774
pub fn dirname ( path : * mut :: c_char ) -> * mut :: c_char ;
775
775
pub fn basename ( path : * mut :: c_char ) -> * mut :: c_char ;
776
-
777
- pub fn copy_file_range (
778
- fd_in : :: c_int ,
779
- off_in : * mut :: off64_t ,
780
- fd_out : :: c_int ,
781
- off_out : * mut :: off64_t ,
782
- len : :: size_t ,
783
- flags : :: c_uint ,
784
- ) -> :: ssize_t ;
785
776
}
786
777
787
778
cfg_if ! {
You can’t perform that action at this time.
0 commit comments