blob: b313c5fb619addd1e4b1ebe41dfc1c37fc663d62 [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
#ifndef __Fuchsia__
#error "Fuchsia-only header"
#endif
#include <stdlib.h>
#include <stdint.h>
#include <sys/types.h>
#include <lib/fdio/vfs.h>
#include <zircon/assert.h>
#include <zircon/types.h>
__BEGIN_CDECLS
// Send an unmount signal on a handle to a filesystem and await a
// response. Unconditionally consumes |h|.
zx_status_t vfs_unmount_handle(zx_handle_t h, zx_time_t deadline);
__END_CDECLS