diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-12-05 11:36:12 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-12-05 11:36:12 -0500 |
commit | a87d1bf186b8060231a374334e399737f6d860a4 (patch) | |
tree | dc2b9936968ab575e21a62fa9e500ec8f166cdb4 /doc/langref.tex | |
parent | 0dc343224e63d8c6f2ba4f0688c93c8c9b5781b6 (diff) | |
parent | b58523345ea01d313672f6896b02b447b6d1d82a (diff) | |
download | systemtap-steved-a87d1bf186b8060231a374334e399737f6d860a4.tar.gz systemtap-steved-a87d1bf186b8060231a374334e399737f6d860a4.tar.xz systemtap-steved-a87d1bf186b8060231a374334e399737f6d860a4.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
* 'master' of ssh://sources.redhat.com/git/systemtap:
PR7051: Remove broken printf %n directive support
Diffstat (limited to 'doc/langref.tex')
-rw-r--r-- | doc/langref.tex | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/doc/langref.tex b/doc/langref.tex index 5db82550..3af2bd15 100644 --- a/doc/langref.tex +++ b/doc/langref.tex @@ -1858,16 +1858,10 @@ p& Pointer address& 0x0000000000bc614e\tabularnewline \hline -n& -Writes a binary value that is the total length of the string written by printf. -The field width specifies the number of bytes to write. Valid specifications -are \%n, \%1n, \%2n and \%4n. The default is 2.& -See below\tabularnewline -\hline b& Writes a binary value as text. The field width specifies the number of bytes to write. Valid specifications are \%b, \%1b, \%2b, \%4b and \%8b. The default -width is 4 (32-bits).& +width is 8 (64-bits).& See below\tabularnewline \hline \%& @@ -1987,7 +1981,7 @@ Another example: \begin{vindent} \begin{verbatim} -stap -e 'probe begin{printf("%1n%b%b", 0xc0dedbad, \ +stap -e 'probe begin{printf("%b%b", 0xc0dedbad, \ 0x12345678);exit()}' | hexdump -C \end{verbatim} @@ -1996,8 +1990,8 @@ This prints: \begin{vindent} \begin{verbatim} -00000000 08 ad db de c0 78 56 34 12 |.....xV4.| -00000009 +00000000 ad db de c0 00 00 00 00 78 56 34 12 00 00 00 00 |........xV4.....| +00000010 \end{verbatim} \end{vindent} Another example: |