Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

getenv name


Alias

env


Description

Get an environment variable. The getenv command searches the environment list to find the environment variable and returns a pointer to the corresponding value string.


Parameters

name

Environment variable name.


Return Value

String: Environment variable value on success. NULL on failure. Use libcox_value_to_string() to extract the processing result.