summaryrefslogtreecommitdiffstats
path: root/tapset/context.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/context.stp')
-rw-r--r--tapset/context.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tapset/context.stp b/tapset/context.stp
index 00629900..9a46df19 100644
--- a/tapset/context.stp
+++ b/tapset/context.stp
@@ -136,3 +136,7 @@ function target:long () %{ /* pure */
%}
function returnval () { return retval () } # deprecated
+
+function stp_pid:long () %{ /* pure */
+ THIS->__retvalue = _stp_pid;
+%}