blob: b181b95f390ffd89fe5431fa1f2532c193ba3b6a [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;
@transport("Syscall")
protocol eventpair {
/// Create an event pair.
/// Rights: Caller job policy must allow ZX_POL_NEW_EVENTPAIR.
eventpair_create(struct {
options uint32;
}) -> (resource struct {
status status;
out0 handle:EVENT;
out1 handle:EVENT;
});
};