blob: 6bd4e9a01c2d2df492680108ab4a28ae37f52f2d [file] [log] [blame]
# Copyright 2017 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
# See https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/vdso/fifo.fidl
include <zircon/syscalls.h>
resource zx_fifo[zx_handle]
zx_fifo_create(elem_count int64, elem_size int64, options int32, out0 ptr[out, zx_fifo], out1 ptr[out, zx_fifo])
zx_fifo_read(handle zx_fifo, elem_size int64, data ptr[out, array[int8]], count len[data], actual_count ptr[out, int64])
zx_fifo_write(handle zx_fifo, elem_size int64, data ptr[in, array[int8]], count len[data], actual_count ptr[out, int64])