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

This PR fixes some constants and structs which were wrong for ESP-IDF targets. I created an app that compares all the constants in `src/unix/newlib` and `src/unix/newlib/espidf` modules with the ones...

S-waiting-on-review

This PR adds support for: CLOCK_PROCESS_CPUTIME_ID CLOCK_THREAD_CPUTIME_ID sysctlnametomib It replaces the following closed PRs: https://github.com/rust-lang/libc/pull/3926 https://github.com/rust-lang/libc/pull/3923 Sorry for the back and forward actions.

S-waiting-on-review
stable-nominated

S-waiting-on-review
stable-nominated

Update the musl headers in CI to use alpine-linux instead of sabotage-linux. Alpine also uses musl but follows the linux stable releases, providing more up-to-date headers. I also took the...

S-waiting-on-review

Remove the comment of these socket options. Reference: https://elixir.bootlin.com/linux/latest/source/include/uapi/asm-generic/socket.h

S-waiting-on-review

Corresponding C library change: https://gitlab.redox-os.org/redox-os/relibc/-/commit/4935b981800d978d433cec06e5a371e8c3a2f464

S-waiting-on-review

Corresponding C library change: https://gitlab.redox-os.org/redox-os/relibc/-/commit/4935b981800d978d433cec06e5a371e8c3a2f464 Based on main, but a version for libc-0.2 branch is here: https://github.com/rust-lang/libc/pull/3918

S-waiting-on-review

I'm interested in these socket options which are commented out: https://docs.rs/libc/latest/src/libc/unix/linux_like/linux/arch/generic/mod.rs.html#109 Digging through the git history and issues I did not see any specific issue with these constants when they...

Snippet from `host_info.h`: ``` struct host_cpu_load_info { /* number of ticks while running... */ natural_t cpu_ticks[CPU_STATE_MAX]; /* ... in the given mode */ }; typedef struct host_cpu_load_info host_cpu_load_info_data_t; typedef struct...

S-waiting-on-review