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

https://github.com/nix-rust/nix/blob/15d624a0fe061f45226addb929f52d866c26d09f/src/sys/signal.rs#L1071 It looks like this is going to be a problem when I come along with the `mipsel-uknown-netbsd` port, especially since the`SigevThreadId` referenced on the next line isn't defined on...

This adds a new method to `SockaddrLikePriv` to get a pointer to some underlying `libc::sockaddr` from a pointer to some type. This avoids dereferencing uninitialized values during `pack_mhdr_to_receive`, which is...

Adds TCP_FASTOPEN for Darwin/FreeBSD (boolean) and Linux-like (integer backlog), plus Linux settings for controlling TCP Fast Open behaviour and cookie generation.

Hello! This is my first PR to nix so I'd appreciate some guidance/patience. This PR adds support for `posix_spawn*` related functions. All functions are added with the exception of `posix_spawnattr_{get,...

The final argument to `quotactl` must conform to a strict specification depending on the command being run. `quotactl` does not perform any validation of the pointer argument passed to it,...

The signature of `ptrace::write` is: ```rust pub fn write(pid: Pid, addr: AddressType, data: *mut c_void) -> Result; ``` Correct me if I'm wrong, but shouldn't data be a `*const c_void`...

First draft to add System V shared memory APIs. I would like some help with these questions: 1. How to decide if an exported function should be `unsafe` or not?...

## What does this PR do This PR adds a SockAddrLl struct to represent a `libc::socketaddr_ll` with the additional guarantee of valid data, that can be made into a `LinkAddr`...

I am pretty sure that I am not understanding this correctly...I am trying to open a pty for the sh shell using the nix libary with this code: ``` let...

## What does this PR do Adds I/O safety to the sys/aio module. Those methods now take `AsFd` arguments instead of `RawFd`. And `struct Aiocb` now has a lifetime argument....