diff options
Diffstat (limited to 'demo/read.hjson')
-rw-r--r-- | demo/read.hjson | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/demo/read.hjson b/demo/read.hjson deleted file mode 100644 index 071ce3a..0000000 --- a/demo/read.hjson +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "match": [ - { "read": { "path": "/tmp/abcd2", "buf": { "tag": "buf" }, "count": { "tag": "count" } } } - ], - "call": [ - { "open": { "path": "/tmp/abcd", "flags": "rdonly", "mode": 0 }, "ret": "new_fd" }, - { "read": { "fd": { "tag": { "get": "new_fd" } }, "buf": { "tag": { "set": "new" } }, "count": { "tag": { "get": "count" } } }, "ret": "n" } - ], - "write": { "src": "new", "dst": "buf", "count": "n" }, - "return": { "value": { "tag": "n" } } - } -] |