Implement confstr (unistd.h)

The implementation for confstr is straightforward. Most of the constants
return 1 on both musl and glibc. The only constant that doesn't is
required for Fish.

I also switched an #[unsafe(no_mangle)] from my last patch back
to a #[no_mangle] because we need to bump cbindgen. #[unsafe(no_mangle)]
is required for Rust 2024.
This commit is contained in:
Josh Megnauth
2025-08-21 02:47:45 -04:00
parent 4758685217
commit 9d2f5d95dc
8 changed files with 98 additions and 4 deletions