Contents

IOConnectRelease(_:)

Remove a reference to the connect handle.

Declaration

func IOConnectRelease(_ connect: io_connect_t) -> kern_return_t

Parameters

  • connect:

    The connect handle created by IOServiceOpen.

Return Value

A kern_return_t error code.

Discussion

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

See Also

Miscellaneous