blob: f721e291399645cd5b3c588f2546f2d49a059b18 [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 event {
/// Create an event.
/// Rights: Caller job policy must allow ZX_POL_NEW_EVENT.
event_create(struct {
options uint32;
}) -> (resource struct {
status status;
out handle:EVENT;
});
};