sysvmq

Crates.iosysvmq
lib.rssysvmq
version0.1.1
sourcesrc
created_at2023-12-08 01:07:36.971291
updated_at2023-12-08 01:14:44.344606
descriptionA simple API for SysV IPC message queues.
homepagehttps://git.onders.org/finga/sysvmq
repositoryhttps://git.onders.org/finga/sysvmq
max_upload_size
id1061425
size15,360
(finga)

documentation

https://docs.rs/sysvmq/latest/sysvmq/

README

status-badge

Sysvmq

This library provides a convenient and easy usable API for SysV IPC message queues.

use sysvmq::{SysvMq, SysvMqError};

fn example() -> Result<(), SysvMqError> {
    let mut mq = SysvMq::new(0)?;
    let mut buf = [0u8; 11];

    mq.send(b"hello queue")?;
    mq.recv(&mut buf)?;
    mq.delete()?;

    Ok(())
}
Commit count: 0

cargo fmt