diff options
author | kevinrs <kevinrs> | 2005-09-29 00:11:39 +0000 |
---|---|---|
committer | kevinrs <kevinrs> | 2005-09-29 00:11:39 +0000 |
commit | a6cfdac66b2485c9e2a073f2f31b03fe9b376e47 (patch) | |
tree | 4b237c3b1d5407997a0ba6ecd6e156e73c952d29 | |
parent | 953064829b2fed48eda09ed69799b193df6f4aa9 (diff) | |
download | systemtap-steved-a6cfdac66b2485c9e2a073f2f31b03fe9b376e47.tar.gz systemtap-steved-a6cfdac66b2485c9e2a073f2f31b03fe9b376e47.tar.xz systemtap-steved-a6cfdac66b2485c9e2a073f2f31b03fe9b376e47.zip |
stapfuncs.5.in
added documentation for new string function 'isinstr()'
-rw-r--r-- | stapfuncs.5.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/stapfuncs.5.in b/stapfuncs.5.in index 01adca12..46268229 100644 --- a/stapfuncs.5.in +++ b/stapfuncs.5.in @@ -91,8 +91,12 @@ strlen:long (str:string) Return the number of characters in str. .TP -substr:string (str:string,start:long,stop:long) -Return the substring starting at character start and ending at character stop. +substr:string (str:string,start:long, offset:long) +Return the substring of str starting from character start and ending at character start + offset. + +.TP +isinstr:long (s1:string, s2:string) +Returns 1 if string s1 contains string s2, returns 0 otherwise. .SS TIMESTAMP |