[Bug 8981] New: ash: add "caller" as an ash builtin
bugzilla at busybox.net
bugzilla at busybox.net
Tue Jun 7 20:06:27 UTC 2016
https://bugs.busybox.net/show_bug.cgi?id=8981
Bug ID: 8981
Summary: ash: add "caller" as an ash builtin
Product: Busybox
Version: 1.24.x
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at busybox.net
Reporter: jhanley at dgtlrift.com
CC: busybox-cvs at busybox.net
Target Milestone: ---
caller
caller [expr]
Returns the context of any active subroutine call (a shell function or a
script executed with the . or source builtins).
Without expr, caller displays the line number and source filename of the
current subroutine call. If a non-negative integer is supplied as expr, caller
displays the line number, subroutine name, and source file corresponding to
that position in the current execution call stack. This extra information may
be used, for example, to print a stack trace. The current frame is frame 0.
The return value is 0 unless the shell is not executing a subroutine call
or expr does not correspond to a valid position in the call stack.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list