libc
libc copied to clipboard
Raw bindings to platform APIs for Rust
This PR removes the `extra_traits` feature and all implementations of `Eq`, `Hash`, and `Debug` as mentioned in #3248. The decision to remove `Debug` impls was left as an open question,...
Please check if it fits in the project policy. This is port of wasi-libc type definitions and functions. wasi-libc has different `fd_set` design to widely used one.
* The `libc::major` and `libc::minor` functions are unsafe. The reverse operation `libc::makedev` is not. * There is no safety invariants on docs.rs for these, this seems to be the norm...
This PR adds some missing netfilter constants from: - `linux/netfilter.h` - `linux/netfilter_arp.h` - `linux/netfilter_bridge.h` - `linux/netfilter_ipv4.h` - `linux/netfilter_ipv6.h` Unresolved questions: - [ ] `NF_NETDEV_NUMHOOKS` and `NF_NETDEV_INGRESS` were not moved from...
Reference: https://gitlab.redox-os.org/redox-os/relibc/-/commit/0f5e6a5649dba7979f5b78965a68268c1f8ff894
Hi, I need to use hostname_max and the function gethostname for xtensa-esp32s3-espidf but they're not supported for this target. Can anyone give me any suggestion or help? Thanks
Sometime in the last week the rustc nightly compiler got more aggressive about reporting `dead_code` warnings. It now warns whenever a struct contains a private field but no constructor. That...