aboutsummaryrefslogtreecommitdiffstats
path: root/sys/README.md
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-10-29 17:00:35 -0600
committerDmitry Vyukov <dvyukov@google.com>2016-11-11 14:33:15 -0800
commit5ed6283b64f91c8aa036122b18974aabed4c5249 (patch)
treebabbd9bd6a3bde548e650d82946e5ce6e6541e57 /sys/README.md
parentf085c198ba2dd95ce46a66ec8f8e6b472c3cca14 (diff)
sys: don't imply pointer indirection for string arguments
In preparation for extending string functionality and to make it less magical.
Diffstat (limited to 'sys/README.md')
-rw-r--r--sys/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/README.md b/sys/README.md
index 28b1b712a..89638aa12 100644
--- a/sys/README.md
+++ b/sys/README.md
@@ -44,7 +44,7 @@ rest of the type-options are type-specific:
type of the object; direction (in/out/inout)
"buffer": a pointer to a memory buffer (like read/write buffer argument), type-options:
direction (in/out/inout)
- "string": a pointer to a memory buffer, similar to buffer[in]
+ "string": a zero-terminated memory buffer (no pointer indirection implied)
"strconst": a pointer to a constant string, type-options:
the underlying string (for example "/dev/dsp")
"filename": a file/link/dir name