drm_ffi::syncobj

Function handle_to_fd

source
pub fn handle_to_fd(
    fd: BorrowedFd<'_>,
    handle: u32,
    export_sync_file: bool,
) -> Result<drm_syncobj_handle>
Expand description

Exports a syncobj as an inter-process file descriptor or as a poll()-able sync file.