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

It looks like the following constants are not defined in DF: * `IP_SENDSRCADDR` * `BPF_ALIGNMENT` * `SF_CACHE` I'll spend a bit more time on this and see if I can...

C-bug
A-CI
O-dragonfly
E-medium

PR #1235 adds a new test program to ensure that the cmsg(3) family of functions are correctly implemented on all targets. However, when run in QEMU `CMSG_NXTHDR` hits a Bus...

E-medium

`time`, `localtime`, etc. are only available on Unix even though Windows has them.

C-API-request
O-windows
E-easy

AFAICT this should be u8 for the aarch64 and arm iOS, watchOS, etc. targets.

C-bug
E-easy

Should be i8.

C-bug
O-x86
E-easy

Would be nice to have to not resort to hacks like https://github.com/jwilm/alacritty/pull/2162

C-API-request
O-bsd
E-easy

We have a couple PRs proposing something that makes platforms more consistent, but isn't exactly true to the C API. Two examples: - `stat` has a field `st_dev` on almost...

C-API-request
S-waiting-on-decision

https://github.com/rust-lang/libc/issues/641 listed some things that we may want to break when libc gets a 1.0. https://github.com/rust-lang/libc/pull/634 addressed some of it, but I don't believe that is everything since (iiuc) it...

breakage-candidate
O-android

2e3999ddf0fa added `mcontext_t` but not `ucontext_t`. FreeBSD `ucontext_t` is machine-independent but libc crate limits it by `target_arch`. See [ucontext_t definition](https://github.com/freebsd/freebsd-src/blob/releng/13.2/sys/sys/_ucontext.h) vs. [mcontext_t definition](https://github.com/freebsd/freebsd-src/blob/releng/13.2/sys/arm64/include/ucontext.h) ```rust error[E0412]: cannot find type `ucontext_t` in...

C-API-request
E-easy