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
19
20
21SystemTap Tapset Reference        August 2011         FUNCTION::ENV_VAR(3stap)
Impressum