diff options
| author | Marco Vanotti <mvanotti@users.noreply.github.com> | 2019-04-22 11:08:29 -0700 |
|---|---|---|
| committer | Julia Hansbrough <flowerhack@google.com> | 2019-04-22 11:08:29 -0700 |
| commit | 53199d6e8aee5f0ebd3775d2b1c674f4e6e64e2b (patch) | |
| tree | 67dd5b456984332244a4113699fa0b7b02cfacfb /sys/fuchsia/fifos.txt | |
| parent | 4d3be36006c006fe859f4db89dfe396176eac12d (diff) | |
Update syscalls (#1116)
* sys/fuchsia: update all syscalls.
This commit modifies all the existing syscalls definitions to match more
closely the documentation in the Fuchsia repo.
* run make extract && make generate
Diffstat (limited to 'sys/fuchsia/fifos.txt')
| -rw-r--r-- | sys/fuchsia/fifos.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fuchsia/fifos.txt b/sys/fuchsia/fifos.txt index 98a348224..cb45859f4 100644 --- a/sys/fuchsia/fifos.txt +++ b/sys/fuchsia/fifos.txt @@ -6,7 +6,7 @@ include <zircon/syscalls.h> resource zx_fifo[zx_handle] zx_fifo_create(elem_count flags[fifo_elem_count], elem_size int32, options const[0], out0 ptr[out, zx_fifo], out1 ptr[out, zx_fifo]) -zx_fifo_read(handle zx_fifo, buffer ptr[out, array[int8]], size len[buffer], num_entries_read ptr[out, int32]) -zx_fifo_write(handle zx_fifo, buffer ptr[in, array[int8]], size len[buffer], num_entries_written ptr[out, int32]) +zx_fifo_read(handle zx_fifo, size len[buffer], buffer ptr[out, array[int8]], num_entries_read ptr[out, int32]) +zx_fifo_write(handle zx_fifo, size len[buffer], buffer ptr[in, array[int8]], num_entries_written ptr[out, int32]) fifo_elem_count = 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096 |
