From 306ca0571c5d906ce76df97bd1ea54f4e0e50240 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 7 Jul 2018 20:07:30 +0200 Subject: prog, pkg/compiler: support fmt type fmt type allows to convert intergers and resources to string representation. --- docs/syscall_descriptions_syntax.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/syscall_descriptions_syntax.md b/docs/syscall_descriptions_syntax.md index 6a683145b..c5db29864 100644 --- a/docs/syscall_descriptions_syntax.md +++ b/docs/syscall_descriptions_syntax.md @@ -42,6 +42,9 @@ rest of the type-options are type-specific: "stringnoz": a non-zero-terminated memory buffer (no pointer indirection implied), type-options: either a string value in quotes for constant strings (e.g. "foo"), or a reference to string flags, +"fmt": a string representation of an integer (not zero-terminated), type-options: + format (one of "dec", "hex", "oct") and the value (a resource, int, flags, const or proc) + the resulting data is always fixed-size (formatted as "%020llu", "0x%016llx" or "%023llo", respectively) "fileoff": offset within a file "len": length of another field (for array it is number of elements), type-options: argname of the object -- cgit mrf-deployment