blob: 35d2d20125be2e8862e453516f3e91bdb9388f18 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library zx;
using vector_void = vector<byte>;
// Note that this has to be named "protocol Syscall" to make test_wrapper have
// the correct name.
[Transport="Syscall"]
protocol Syscall {
// Typical case.
[blocking]
BlockingWrite(handle<vmo> handle, vector_void buffer, uint64 offset) -> (status status);
// Special case for abigen's test wrapper.
TestWrapper(int32 a, int32 b, int32 c) -> (status status);
};