Contents

copySendRight()

Create another send right from a given send right.

Declaration

func copySendRight() throws -> Mach.Port<Mach.SendRight>

Discussion

This does not affect the makeSendCount of the receive right.

If the send right being copied has become a dead name, meaning the receiving side has been deallocated, then copySendRight() will throw a Mach.PortRightError.deadName error.