#named-pipe #unix #fifo #mkfifo

unix-named-pipe

Ease creation of named pipes on Unix platform

2 unstable releases

0.2.0 Oct 6, 2018
0.1.0 Oct 3, 2018

#636 in Unix APIs

Download history 9733/week @ 2024-12-11 6113/week @ 2024-12-18 2384/week @ 2024-12-25 4544/week @ 2025-01-01 6549/week @ 2025-01-08 8848/week @ 2025-01-15 7934/week @ 2025-01-22 8312/week @ 2025-01-29 8155/week @ 2025-02-05 7109/week @ 2025-02-12 7481/week @ 2025-02-19 9107/week @ 2025-02-26 8945/week @ 2025-03-05 10745/week @ 2025-03-12 10787/week @ 2025-03-19 10246/week @ 2025-03-26

42,688 downloads per month
Used in 12 crates (9 directly)

MIT license

12KB
157 lines

unix-named-pipe

pipeline status coverage report


unix-named-pipe is a library to ease the creation and usage of named pipes on the Unix platform

Usage

extern crate unix_named_pipe;

...

let filename = "/var/run/application.pipe";
let mode: u32 = 0o644

// Create a new named pipe
unix_named_pipe::create(filename, mode)?;

// Open a named pipe for reading
let read_file = unix_named_pipe::open_read(filename)?;

// Open a named pipe for writing (appending)
let write_file = unix_named_pipe::open_write(filename)?;

Contributing

Pull requests are welcomed and encouraged. Feel free to ask questions via the issue tracker or email.

Any contributions will be greatly appreciated <3.

License

Licensed under MIT. See LICENSE for details.

Dependencies

~230KB