github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/fuchsia/fifo.txt (about) 1 # Copyright 2017 syzkaller project authors. All rights reserved. 2 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 # See https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/vdso/fifo.fidl 5 6 include <zircon/syscalls.h> 7 8 resource zx_fifo[zx_handle] 9 10 zx_fifo_create(elem_count int64, elem_size int64, options int32, out0 ptr[out, zx_fifo], out1 ptr[out, zx_fifo]) 11 12 zx_fifo_read(handle zx_fifo, elem_size int64, data ptr[out, array[int8]], count len[data], actual_count ptr[out, int64]) 13 14 zx_fifo_write(handle zx_fifo, elem_size int64, data ptr[in, array[int8]], count len[data], actual_count ptr[out, int64])