Update syscall_descriptions_syntax.md

clarify size of intptr
This commit is contained in:
Dmitry Vyukov 2018-06-04 09:39:41 +02:00 committed by GitHub
parent 2f93b54f26
commit 6cbe7c26d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,9 +75,9 @@ flagname = "\"" literal "\"" ["," "\"" literal "\""]*
## Ints
You can use `int8`, `int16`, `int32`, `int64` and `int64` to denote an integer of the corresponding size.
`int8`, `int16`, `int32` and `int64` denote an integer of the corresponding size. `intptr` denotes a pointer-sized integer, i.e. C `long` type.
By appending `be` suffix (like `int16be`) integers become big-endian.
By appending `be` suffix (e.g. `int16be`) integers become big-endian.
It's possible to specify range of values for an integer in the format of `int32[0:100]`.