nix icon indicating copy to clipboard operation
nix copied to clipboard

Rust friendly bindings to *nix APIs

Results 296 nix issues
Sort by recently updated
recently updated
newest added
trafficstars

`gettid()` was initially added in #293, at that time, we didn't have a libc wrapper so we had to involve the `syscall()` directly. The wrapper in glibc was added in...

This project needs more help! I've been the primary maintainer of Nix since 2017. But I no longer have as much free time as this project deserves. And frankly, I'm...

Add [`cargo-semver-checks`](https://github.com/obi1kenobi/cargo-semver-checks) to automate checking for breaking changes. This may allow removing: > - [ ] A change log has been added if this PR modifies nix's API from the...

Adds release-please automation. - `release-please`: Automatically updates the SemVer version, creates a PR for each release (people don't need to manually edit the changelog) when merged adds the release tag....

References https://github.com/nix-rust/nix/issues/786 ~~Depends on https://github.com/rust-lang/libc/pull/3143, hence marking as a draft.~~ Done This implements WASI support sufficient to build the fs, uio, and zerocopy features (enough to build [coreutils](https://github.com/uutils/coreutils) 🙂) Lots...

`Epoll::add` takes `mut event: EpollEvent`, whereas `Epoll::modify` takes `event: &mut EpollEvent` seems like an odd difference, am I missing a reason that this is sensible?

A-ergonomics

Attempting to run: ```rust use nix::sys::termios::{tcgetattr, tcsetattr}; fn main() { let tty_in = std::io::stdin(); let original_mode = tcgetattr(&tty_in).unwrap(); println!("tcgetattr(): {original_mode:?}"); println!("c_iflag: {}", libc::BRKINT | libc::IGNPAR | libc::ICRNL | libc::IXON |...

A-bug

Fixes #1903 Currently, new/unknown protocols cannot be implemented with Unix sockets and this crate, because every protocol integer must be part of the SockProtocol enum. Additionally, some protocols, such as...

I tried a long time setting the hop limit for IPv6 multicast traffic sent with [`sendmsg`][sendmsg] until I read in a [StackOverflow post][so_post] that for IPv6 multicast and [`sendmsg`][sendmsg], the...