Comments (4)
I have an initial version of an ioctl module available here: https://github.com/posborne/rust-spidev/blob/master/src/ioctl.rs
I am going to play with that implementation a bit more and will then probably open a PR that get the module pulled into nix. If there is any early feedback based on the linked implementation, please let me know and I will see if I can address before I issue an initial PR.
from nix.
Hey there. I personally don't have much experience w/ working with ioctl. I would be happy to pull in a more comprehensive binding. I believe @utkarshkukreti did the original work, so hopefully he will have more of an opinion :)
from nix.
@posborned any luck with this?
from nix.
@carllerche, things are progressing. I will submit a PR once I have had a chance to test a little bit more. That testing will be done with the spidev development I have been doing (since that requires a number of ioctls). I have hardware for testing that now, so expect to see a PR sometime this week.
from nix.
Related Issues (20)
- Change the signature of `ptrace::write` to make it safe HOT 1
- Make all Nix libc wrapper types `repr(transparent)`/`From<libc::xx>`/`Into<libc::xx>` HOT 8
- `ru_maxrss` in the result of `getrusage` is in bytes on macOS HOT 1
- x86_64-unknown-linux-musl socket HOT 2
- Debug the `test_signal::test_sigsuspend()` test failure in macOS CI HOT 3
- Disable the CI for tier3 DragonFlyBSD cuz latest nightly Rust is broken
- Build breakage with libc 0.2.154 from git
- Work Queue
- Build failure on x86_64-unknown-haiku
- `PtyMaster` missing `AsFd` implementation HOT 2
- Replacement `nix::fcntl::Flock` does not cover all use cases for deprecated `nix::fcntl::flock` HOT 2
- Check `CHANGELOG` PR ID in CI
- could not find `ucontext` in `nix` for aarch64-linux-android HOT 4
- O_PATH exists on freebsd 14 - could we add it? HOT 1
- linkat doesn't support AT_EMPTY_PATH, making it incompatible with O_TMPFILE HOT 2
- Make the tests that failed to acquire locks panic explicitly HOT 4
- SignalFd::read_signal should take &self, not &mut self
- Debug `mount::test_mount::test_mount_bind` on Linux HOT 4
- API request: sync on MacOS
- test_initgroups fails.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix.