Skip to main content

env_value

Function env_value 

Source
pub fn env_value(block: &[u16], name: &str) -> Option<String>
Expand description

The value of the variable name in a NAME=value\0...\0\0 block, the first entry for it, matched case-insensitively and decoded lossily; None when the block has none.