// 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; | |
}); | |
}; |