pub unsafe fn fcopyfile<FromFd: AsFd, ToFd: AsFd>(
    from: &FromFd,
    to: &ToFd,
    state: copyfile_state_t,
    flags: CopyfileFlags
) -> Result<()>
Expand description

fcopyfile(from, to, state, flags)

Safety

The state operand must be allocated with copyfile_state_alloc and not yet freed with copyfile_state_free.

References