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