libc icon indicating copy to clipboard operation
libc copied to clipboard

Raw bindings to platform APIs for Rust

Results 273 libc issues
Sort by recently updated
recently updated
newest added

Fixes #3763

S-waiting-on-review

The getppid function is missing on Windows

C-bug

The kill function is missing in libc on Windows

C-bug

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,...

S-waiting-on-author

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.

S-waiting-on-review

* 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...

C-bug

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...

S-waiting-on-review

Reference: https://gitlab.redox-os.org/redox-os/relibc/-/commit/0f5e6a5649dba7979f5b78965a68268c1f8ff894

S-waiting-on-review

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

C-API-request
E-easy

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...

C-bug