rust/library/std
Tomasz Miąsko e0a53ed63a Use fcntl(fd, F_GETFD) to detect if standard streams are open
In the previous implementation, if the standard streams were open,
but the RLIMIT_NOFILE value was below three, the poll would fail
with EINVAL:

> ERRORS: EINVAL The nfds value exceeds the RLIMIT_NOFILE value.

Switch to the existing fcntl based implementation to avoid the issue.
2022-05-11 09:38:28 +02:00
..
benches
primitive_docs
src Use fcntl(fd, F_GETFD) to detect if standard streams are open 2022-05-11 09:38:28 +02:00
tests Fold aarch64 feature +fp into +neon 2022-03-22 15:14:33 -07:00
build.rs
Cargo.toml Update libc dependency of std to 0.2.125. 2022-04-29 16:45:17 +02:00