unix-named-pipe

Crates.iounix-named-pipe
lib.rsunix-named-pipe
version0.2.0
sourcesrc
created_at2018-10-03 20:02:50.046259
updated_at2018-10-06 20:16:24.466297
descriptionEase creation of named pipes on Unix platform
homepagehttps://glow.dev.maio.me/sjohnson/unix-named-pipe
repositoryhttps://glow.dev.maio.me/sjohnson/unix-named-pipe
max_upload_size
id87883
size14,350
Sean Johnson (pirogoeth)

documentation

https://docs.rs/crate/unix-named-pipe

README

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.

Commit count: 0

cargo fmt