function::env_var.3stap - Man Page

Fetch environment variable from current process

Synopsis

    env_var:string(name:string)

Arguments

name

Name of the environment variable to fetch

Description

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

See Also0

tapset::context-envvar(3stap)

Info

April 2024 SystemTap Tapset Reference Context Functions