From 5ed6283b64f91c8aa036122b18974aabed4c5249 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 29 Oct 2016 17:00:35 -0600 Subject: sys: don't imply pointer indirection for string arguments In preparation for extending string functionality and to make it less magical. --- sys/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/README.md') 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 -- cgit mrf-deployment