1FUNCTION::ENV_VAR(3stap) Context Functions FUNCTION::ENV_VAR(3stap)
23
4
NAME
6function::env_var - Fetch environment variable from current process
7
SYNOPSIS
9env_var:string(name:string)
10
ARGUMENTS
12name
13Name of the environment variable to fetch
14
DESCRIPTION
16Returns the contents of the specified environment value for the current
17process. If the variable isn't set an empty string is returned.
18
SEE ALSO
20tapset::context-envvar(3stap)
2122
23
24
SystemTap Tapset Reference October 2018 FUNCTION::ENV_VAR(3stap)