#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

#562 in Unix APIs

Download history 2002/week @ 2024-03-14 2031/week @ 2024-03-21 1861/week @ 2024-03-28 2703/week @ 2024-04-04 2575/week @ 2024-04-11 2566/week @ 2024-04-18 1391/week @ 2024-04-25 1062/week @ 2024-05-02 1376/week @ 2024-05-09 1420/week @ 2024-05-16 1355/week @ 2024-05-23 1239/week @ 2024-05-30 1361/week @ 2024-06-06 1686/week @ 2024-06-13 1724/week @ 2024-06-20 1513/week @ 2024-06-27

6,537 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