#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

#564 in Unix APIs

Download history 1774/week @ 2024-02-26 1772/week @ 2024-03-04 1934/week @ 2024-03-11 2170/week @ 2024-03-18 2018/week @ 2024-03-25 2224/week @ 2024-04-01 2285/week @ 2024-04-08 2976/week @ 2024-04-15 1960/week @ 2024-04-22 1132/week @ 2024-04-29 1164/week @ 2024-05-06 1442/week @ 2024-05-13 1341/week @ 2024-05-20 1370/week @ 2024-05-27 1320/week @ 2024-06-03 1381/week @ 2024-06-10

5,460 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