rust-tlpi
所属分类:Linux/Unix编程
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2019-06-17 18:39:28
上 传 者:
sh-1993
说明: Linux编程接口课程的练习,在Rust中重新实现
(Exercises from The Linux Programing Interface course, reimplemented in Rust)
文件列表:
Cargo.toml (312, 2019-06-17)
LICENSE (35149, 2019-06-17)
src/ (0, 2019-06-17)
src/fileio/ (0, 2019-06-17)
src/fileio/ex_seek_write.rs (1144, 2019-06-17)
src/fileio/ex_tee.rs (1588, 2019-06-17)
# rust-tlpi
> Exercises from The Linux Programing Interface course, reimplemented in Rust
## Requirements
- `cargo`
## Build
cargo build
## Run
Exercises are located in `./target/debug/*`
## Notes
We are not using the Rust standard library because we absolutely want to call
the original functions of the `glibc` with the same arguments.
Therefore we use the crate `nix`, which is a Rust wrapper on top of `glibc`,
defining `safe` and Rust compatible functions, which will call the `glibc`
unsafe functions.
近期下载者:
相关文件:
收藏者: