Skip to main content

setenv_bytes

Function setenv_bytes 

Source
pub fn setenv_bytes(name: &[u8], value: &[u8], overwrite: bool) -> SysResult<()>
Expand description

Inserts or updates the environment variable name with value.

Returns Err(Errno(EINVAL)) if name is empty, contains '=', or contains an interior NUL, or if value contains an interior NUL.