Contents

IOConnectAddClient(_:_:)

Inform a connection of a second connection.

Declaration

func IOConnectAddClient(_ connect: io_connect_t, _ client: io_connect_t) -> kern_return_t

Parameters

  • connect:

    The connect handle created by IOServiceOpen.

  • client:

    Another connect handle created by IOServiceOpen.

Return Value

A kern_return_t error code returned by the family.

Discussion

This is a generic method to inform a family connection of a second connection, and is rarely used.

See Also

Miscellaneous