pub async fn sys_sendfile(
        &self,
        out_fd: FileDesc,
        in_fd: FileDesc,
        offset_ptr: UserInOutPtr<u64>,
        count: usize,
    ) -> SysResult {
        self.sys_copy_file_range(in_fd, offset_ptr, out_fd, 0.into(), count, 0)
            .await
    }
/// copies data between one file descriptor and another.
copies data between one file descriptor and another.
copies data between one file descriptor and another .
pub async fn sys_sendfile(
        &self,
        out_fd: FileDesc,
        in_fd: FileDesc,
        offset_ptr: UserInOutPtr<u64>,
        count: usize,
    ) -> SysResult {
        self.sys_copy_file_range(in_fd, offset_ptr, out_fd, 0.into(), count, 0)
            .await
    }
pub async fn sys_sendfile ( & self , out_fd : FileDesc , in_fd : FileDesc , offset_ptr : UserInOutPtr < u64 > , count : usize , ) -> SysResult { self . sys_copy_file_range ( in_fd , offset_ptr , out_fd , 0 . into ( ) , count , 0 ) . await }
copies data between one file descriptor and another.
copies data between one file descriptor and another .
&self
out_fd
FileDesc
in_fd
FileDesc
offset_ptr
UserInOutPtr<u64>
count
usize
&self
out_fd
FileDesc
in_fd
FileDesc
offset_ptr
UserInOutPtr<u64>
count
usize