1FUNCTION::ENV_VAR(3stap)       Context Functions      FUNCTION::ENV_VAR(3stap)
2
3
4

NAME

6       function::env_var - Fetch environment variable from current process
7

SYNOPSIS

9           env_var:string(name:string)
10

ARGUMENTS

12       name
13           Name of the environment variable to fetch
14

DESCRIPTION

16       Returns the contents of the specified environment value for the current
17       process. If the variable isn't set an empty string is returned.
18

SEE ALSO

20       tapset::context-envvar(3stap)
21
22
23
24SystemTap Tapset Reference       November 2022        FUNCTION::ENV_VAR(3stap)
Impressum