A codegen tool for extracting cfg expressions from the libc crate.
cfg
libc
cargo run --features binary -- --libc /path/to/libc '^pthread_'