blob: 22dbf01847ce14576fcc2d7177968cdcf2a626e8 [file] [log] [blame]
// Copyright 2017 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.
#pragma once
#include <magenta/compiler.h>
#include <magenta/types.h>
__BEGIN_CDECLS
// Returns a new handle to the root resource, which the caller
// is responsible for closing.
// See docs/objects/resource.md
mx_status_t get_root_resource(mx_handle_t* root_resource);
__END_CDECLS