Skip to main content

SYS_IPC_TRY_RECV

Constant SYS_IPC_TRY_RECV 

Source
pub const SYS_IPC_TRY_RECV: usize = 207; // 207usize
Expand description

Non-blocking receive from an IPC port.

  • port_handle: capability handle of the port
  • buf_ptr: buffer to receive the message
  • buf_len: size of the buffer

Returns the number of bytes received, or 0 if no message is available (does not block). Returns -EAGAIN if the port is empty.