SteveLauC
SteveLauC
> A quick online search showed that these functions have been available in Ubuntu since at least 16.04, and in Android since at least 2008. Well, then I am not...
Is this feature available on all the platforms? I see that FreeBSD and OpenBSD have this, Linux and POSIX manual do not mention it at all. * [FreeBSD](https://man.freebsd.org/cgi/man.cgi?poll) * [OpenBSD](https://man.openbsd.org/poll.2)...
> Linux does support this, but the man page you linked uses the term "negative". Oh, I get it, same as the `timeout` argument > POSIX doesn't mention this either...
If we change `poll()` and `ppoll()` to take `&mut [Option]`, then we have to clone the slice and replace the `None` with a `PollFd` that has the fd set to...
It seems that all the OSes supported by Nix have this feature except for Redox: | OS | Supported | |---------|------------| |darwin |Yes| | linux |Yes| |android |Probably yes, since...
Sorry for the late response, I think I accidentally ignored that ping. ----- I believe we should allow our users to do the following things in safe Rust: 1. set_default...
`execveat()` was added in #800, still no libc wrapper at that time, but for now, from its [man page](https://man7.org/linux/man-pages/man2/execveat.2.html), glibc seems to have a wrapper for it since 2.34, the...
> I will add a binding for glibc to the libc crate [PR](https://github.com/rust-lang/libc/pull/3372) filed
> Hey @SteveLauC! Sorry for the ping No worry about the ping, feel free to do so when needed:) ----- > Are you trying to create a dylib target? If...
I do tend to use the libc wrapper as syscalls are inherently unsafe, so I prefer approach 2 cc @asomers, thoughts on this?