MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / linux_kernel_config_item_is_enabled

Function linux_kernel_config_item_is_enabled

tests/thread/prctl.rs:198–201  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

196
197#[cfg(feature = "system")]
198fn linux_kernel_config_item_is_enabled(name: &str) -> io::Result<bool> {
199 let config = load_linux_kernel_config()?;
200 is_linux_kernel_config_item_enabled(&config, name)
201}

Callers 3

Tested by 3