blob: 9716ea2f86e768e21458306c8be37acd6147e4f4 [file] [log] [blame]
// Copyright 2016 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 <zircon/types.h>
#include <stddef.h>
#include <zircon/compiler.h>
// This functions ZX_ERR_IO to indicate an error in the POSIXish
// underlying calls, meaning errno has been set with a POSIX-style error.
// Other errors are verbatim from the zx_vm_object_* calls.
zx_status_t launchpad_vmo_from_file(const char* filename, zx_handle_t* out);