reply

Number0x13
Signature(reply_handle, w1, w2, w3) -> 0 or -err
Groupmessaging
Since1.0

Answer a client blocked in call, using the reply handle delivered by recv. The three words land in the caller’s r1r3.

The reply capability is consumed: it is single-use, and after reply the handle is gone. Subsequent uses of the handle will return ERR_BADHANDLE.

Arguments

RegisterNameDescription
r0reply_handleReply handle identifying the blocked caller (from the `recv` that woke on a `call`)
r1–r3w1–w3The three reply words

Returns

0 on success.

Errors

CodeCondition
ERR_BADHANDLENo such handle
ERR_BADTYPEHandle is not a reply capability
ERR_DEADThe caller has died or timed out

See also