function::env_var(3stap)

function::env_var3stap

Fetch environment variable from current process

Usage

    env_var:string(name:string)

Arguments

name

Name of the environment variable to fetch

Overview

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)

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.