Skip to main content

recv

Function recv 

Source
pub fn recv(endpoint: CapHandle) -> Result<Message, IpcError>
Expand description

Block until a message is available on endpoint. (§8.2 - recv)

Passes a stack-allocated receive buffer to the kernel; the kernel copies the message payload there and returns the number of bytes written.