Skip to main content

print_all_env_vars

Function print_all_env_vars 

Source
pub fn print_all_env_vars<T: Display>(line_ending: T) -> Result<()>
Expand description

Print all environment variables in the format name=value with the specified line ending.

This function handles non-UTF-8 environment variable names and values correctly by using raw bytes on Unix systems.