drm_ffi::syncobj

Function fd_to_handle

source
pub fn fd_to_handle(
    fd: BorrowedFd<'_>,
    syncobj_fd: BorrowedFd<'_>,
    import_sync_file: bool,
) -> Result<drm_syncobj_handle>
Expand description

Imports a file descriptor exported by handle_to_fd back into a process-local handle.