Function lrs::syscall::mq_timedreceive

Receives a message over a message queue.

Syntax

fn mq_timedreceive(mq: i32, msg: &mut [u8], prio: Option<&mut u32>, timeout: Option<&timespec>) -> i64

Arguments

NameDescription
mq

The message queue.

msg

A place where the message will be stored.

prio

A place where the priority will be stored.

timeout

The timeout of the operation.

See also