#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

#556 in Unix APIs

Download history 1043/week @ 2024-01-14 1260/week @ 2024-01-21 1163/week @ 2024-01-28 1413/week @ 2024-02-04 1331/week @ 2024-02-11 1386/week @ 2024-02-18 1839/week @ 2024-02-25 1744/week @ 2024-03-03 1976/week @ 2024-03-10 2074/week @ 2024-03-17 2095/week @ 2024-03-24 2098/week @ 2024-03-31 2429/week @ 2024-04-07 2953/week @ 2024-04-14 1974/week @ 2024-04-21 1135/week @ 2024-04-28

8,602 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