#write #read #lseek

io-synesthesist

ffi library of write(2) and lseek(2)/read(2)

2 releases

Uses old Rust 2015

0.1.1 Nov 19, 2015
0.1.0 Nov 19, 2015

#19 in #write


Used in msg

GPL-3.0 license

18KB
461 lines

In/Out-Put

Crate docs-badge license-badge travis-badge circle-badge

How to build:

git clone https://github.com/adjivas/io.git io && cd io
- cargo build // Without feature.
- cargo build --features synesthesia // With the synesthesia' feature.

How to use:

  • cargo run --example char < <(echo 'a')
  • cargo run --example line < <(echo "hello")
  • cargo run --example number < <(echo 42)
  • cargo run --example pass < <(echo $SECRET)

Directory-Tree:

.
|__ Cargo.toml
|__ LICENSE
|__ README.md
|__ examples
|   |__ char.rs
|   |__ command.rs
|   |__ error.rs
|   |__ line.rs
|   |__ number.rs
|   |__ pass.rs
|   \__ write.rs
\__ src
    |__ ffi.rs
    |__ macros.rs
    \__ lib.rs

License:

io's code in this repo uses the GNU GPL v3 license.

No runtime deps

Features

  • synesthesia