Function drm_ffi::gem::handle_to_fd

source ·
pub fn handle_to_fd(
    fd: BorrowedFd<'_>,
    handle: u32,
    flags: u32
) -> Result<drm_prime_handle>
Expand description

Converts a GEM object’s handle to a PRIME file descriptor.