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

when to support full setregs/getregs etc in aarch64

`recvmmsg` takes `data` which is almost but not quite a mutable array reference to prepared buffers and returns a vector of `RecvMsg

After raising the MSRV to 1.56.0: * Simplify `ipv4addr_to_libc` and `ipv4addr_to_libc` by changing their bodies to a simple `mem::transmute`, since `Ipv4Addr` and `Ipv6Addr` are simple newtypes around the libc types.

When raising the MSRV to 1.50.0 or above: * Make `ipv4addr_to_libc` a `const fn`, since `Ipv4Addr::octets` is const in that version.

The CFGs are kinda all over the place... I don't have a good sense for how fragmented the different env's are. Note that this depends on https://github.com/rust-lang/libc/pull/2719 for the definitions...

I'm on a bit of a yakshave here, but hopefully this is comprehensible. I'm working on porting [minidump_writer_linux](https://github.com/msirringhaus/minidump_writer_linux) to ARM64 Android. One of its primary jobs is to grab the...

When updating the MSRV to 1.48.0 or later, we should: * Add doc aliases. #1673

It has additional fourth "Birth time" for files.

Resolves #1649. In current state this breaks the build for Musl targets.

`IoVec::from_mut_slice` uses as_ptr() to get a mutable pointer https://github.com/nix-rust/nix/blob/5cd01a1fd7417ee6e16636443965c0a197ff2843/src/sys/uio.rs#L227-L233 This is unsound, because the pointer from as_ptr must never be written to > The caller must also ensure that the...