Registry / utility / libc-extra

libc-extra

JSON →
library0.3.2rscratesunverified

Additional bits and bobs found in libc libraries that either hasn't been submitted to Rust's official libc crate yet, or has been rejected or requires too much work to integrate.

# Cargo.toml [dependencies] libc-extra = "0.3.2"
INSTALL
IMPORT
SIG · LIBC-EXTRA
L
libc-extra
utilityrustv0.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

c_void
use libc_extra::c_void;

Use a c_void type from libc-extra.

use libc_extra::c_void; fn main() { let ptr: *const c_void = std::ptr::null(); println!("Pointer: {:p}", ptr); }
Debug
Known issues
gotchaMay conflict with the official libc crate; ensure only one is used.
fix
Use libc-extra only for types not present in libc, or rename imports.
affects: >=0.0.0
Upgrade
Version history
0.3.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
libc-extra — cargo add libc-extra · libregistry