File tree Expand file tree Collapse file tree 3 files changed +9
-17
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 3 files changed +9
-17
lines changed Original file line number Diff line number Diff line change @@ -1212,14 +1212,6 @@ extern "C" {
12121212 pub fn ntp_gettime ( buf : * mut ntptimeval ) -> :: c_int ;
12131213 pub fn clock_adjtime ( clk_id : :: clockid_t , buf : * mut :: timex ) -> :: c_int ;
12141214
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 ;
12231215 pub fn fanotify_mark (
12241216 fd : :: c_int ,
12251217 flags : :: c_uint ,
Original file line number Diff line number Diff line change @@ -4702,6 +4702,15 @@ extern "C" {
47024702 longopts : * const option ,
47034703 longindex : * mut :: c_int ,
47044704 ) -> :: 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 ;
47054714}
47064715
47074716cfg_if ! {
Original file line number Diff line number Diff line change @@ -773,15 +773,6 @@ extern "C" {
773773
774774 pub fn dirname ( path : * mut :: c_char ) -> * mut :: c_char ;
775775 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 ;
785776}
786777
787778cfg_if ! {
You can’t perform that action at this time.
0 commit comments