IOConnectRelease

Function IOConnectRelease 

Source
pub extern "C-unwind" fn IOConnectRelease(
    connect: io_connect_t,
) -> kern_return_t
Available on crate feature libc only.
Expand description

Remove a reference to the connect handle.

Removes a reference to the connect handle. If the last reference is removed an implicit IOServiceClose is performed.

Parameter connect: The connect handle created by IOServiceOpen.

Returns: A kern_return_t error code.