aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-12 10:45:32 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-13 12:52:09 +0100
commit5585946e227fc9dab364e87365312fef911b0c12 (patch)
tree34508a628101899eb5044765547c6de5560360b6 /docs
parent6b52293f4defa6b45b564d037fd641be5d6d0e0e (diff)
pkg/compiler: support void type
"void": type with static size 0 mostly useful inside of templates and varlen unions can't be syscall argument
Diffstat (limited to 'docs')
-rw-r--r--docs/syscall_descriptions_syntax.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/syscall_descriptions_syntax.md b/docs/syscall_descriptions_syntax.md
index b8ded85bf..b454386d4 100644
--- a/docs/syscall_descriptions_syntax.md
+++ b/docs/syscall_descriptions_syntax.md
@@ -53,6 +53,8 @@ rest of the type-options are type-specific:
value range start, how many values per process, underlying type
"text": machine code of the specified type, type-options:
text type (x86_real, x86_16, x86_32, x86_64, arm64)
+"void": type with static size 0
+ mostly useful inside of templates and varlen unions, can't be syscall argument
```
flags/len/flags also have trailing underlying type type-option when used in structs/unions/pointers.