nix
nix copied to clipboard
Rust friendly bindings to *nix APIs
This commit adds pub struct ArbitraryBaudRate(pub u32); impl TryFrom for BaudRate { ... } such that arbitrary baud rates can be specified on systems that otherwise do not support it...
The CHANGELOG file is by far our biggest source of merge conflicts. It would be great if we could fix that. One approach would be that taken by https://github.com/saltstack/salt ....
Fixes #919 Annotate the correct lifetime (`'static`) for the closure transferred to the child process of the clone. Properly box the closure in the parent then rebox it in the...
Currently the only protocols supported in [`SockProtocol`](https://docs.rs/nix/0.10.0/nix/sys/socket/enum.SockProtocol.html) are `Tcp` and `Udp` (**for linux**), while there are many more. For example, I'm working with raw sockets and I need to specify...
Hello so I am trying to work with x11rb inside wsl and have a working setup for an xserver (I have confirmed this through the weston program and was able...
``` = note: Undefined symbols for architecture x86_64: "_preadv", referenced from: nix::sys::uio::preadv::h8c66d9fb8b619a73 in libnix-1b7d7137231b30ff.rlib(nix-1b7d7137231b30ff.nix.1b5c8824-cgu.0.rcgu.o) "_pwritev", referenced from: nix::sys::uio::pwritev::hb39f620af1eb34cc in libnix-1b7d7137231b30ff.rlib(nix-1b7d7137231b30ff.nix.1b5c8824-cgu.0.rcgu.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker...
It seems that the [`UnixAddr` type](https://docs.rs/nix/0.23.0/nix/sys/socket/struct.UnixAddr.html) no longer provides a way to generate an unnamed unix address (a unix address with an `addrlen` of 2, or `UnixAddrKind::Unnamed`). This used to...
I am not too familiar with the API, but I don't think there's any reason it shouldn't return a `PtyMaster` instead; it means that the result cannot be used in...