aboutsummaryrefslogtreecommitdiffstats
path: root/docs/syscall_descriptions_syntax.md
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-07-22 09:23:10 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-07-22 09:23:10 +0200
commitd6e6e5e69cba9b5a23021971fea1c9592d2a74ae (patch)
tree4353c86c9de24cced5e2c4b949c0c1c30de698a4 /docs/syscall_descriptions_syntax.md
parent18678d6989dc28eb5dfa6dd9829d2a0847cde496 (diff)
docs: fix description of ptr type
ptr has direction as the first argument.
Diffstat (limited to 'docs/syscall_descriptions_syntax.md')
-rw-r--r--docs/syscall_descriptions_syntax.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/syscall_descriptions_syntax.md b/docs/syscall_descriptions_syntax.md
index cb5249ab1..9fb764b26 100644
--- a/docs/syscall_descriptions_syntax.md
+++ b/docs/syscall_descriptions_syntax.md
@@ -27,11 +27,11 @@ rest of the type-options are type-specific:
"intN"/"intptr": an integer without a particular meaning, type-options:
optional range of values (e.g. "5:10", or "100:200")
"flags": a set of flags, type-options:
- reference to flags description (see below)
+ reference to flags description (see below), underlying int type (e.g. "int32")
"array": a variable/fixed-length array, type-options:
type of elements, optional size (fixed "5", or ranged "5:10", boundaries inclusive)
"ptr"/"ptr64": a pointer to an object, type-options:
- type of the object; direction (in/out/inout)
+ direction (in/out/inout); type of the object
ptr64 has size of 8 bytes regardless of target pointer size
"string": a zero-terminated memory buffer (no pointer indirection implied), type-options:
either a string value in quotes for constant strings (e.g. "foo"),