OS Manuals

function::env_var(3stap)

function::env_var - Fetch environment variable from current process

FUNCTION::ENV_VAR(3stap) Context Functions FUNCTION::ENV_VAR(3stap)

function::env_var - Fetch environment variable from current process


env_var:string(name:string)

name

Name of the environment variable to fetch

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

tapset::context-envvar(3stap)

September 2026 SystemTap Tapset Reference Ver

systemtap 5.6-r0 · enterprise-packages · ingested 2026-10-02