https://github.com/wenzel/rust-tlpi
Exercises from The Linux Programing Interface course, reimplemented in Rust
https://github.com/wenzel/rust-tlpi
Last synced: about 1 month ago
JSON representation
Exercises from The Linux Programing Interface course, reimplemented in Rust
- Host: GitHub
- URL: https://github.com/wenzel/rust-tlpi
- Owner: Wenzel
- License: gpl-3.0
- Created: 2019-06-17T17:35:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-17T18:39:28.000Z (almost 7 years ago)
- Last Synced: 2025-01-02T05:13:12.386Z (over 1 year ago)
- Language: Rust
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.