1FUNCTION::CMDLINE_AR(3stap)    Context Functions   FUNCTION::CMDLINE_AR(3stap)
2
3
4

NAME

6       function::cmdline_arg - Fetch a command line argument
7

SYNOPSIS

9           cmdline_arg:string(n:long)
10

ARGUMENTS

12       n
13           Argument to get (zero is the program itself)
14

DESCRIPTION

16       Returns argument the requested argument from the current process or the
17       empty string when there are not that many arguments or there is a
18       problem retrieving the argument. Argument zero is traditionally the
19       command itself.
20

SEE ALSO

22       tapset::context(3stap)
23
24
25
26SystemTap Tapset Reference       October 2018      FUNCTION::CMDLINE_AR(3stap)
Impressum