#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

#585 in Unix APIs

Download history 7447/week @ 2024-11-16 6129/week @ 2024-11-23 8164/week @ 2024-11-30 9945/week @ 2024-12-07 8155/week @ 2024-12-14 2777/week @ 2024-12-21 3039/week @ 2024-12-28 6250/week @ 2025-01-04 8297/week @ 2025-01-11 7868/week @ 2025-01-18 8166/week @ 2025-01-25 7998/week @ 2025-02-01 8360/week @ 2025-02-08 6974/week @ 2025-02-15 8263/week @ 2025-02-22 7591/week @ 2025-03-01

32,664 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