1 // Copyright 2017 The Fuchsia Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #pragma once 6 7 #ifndef __Fuchsia__ 8 #error "Fuchsia-only header" 9 #endif 10 11 #include <stdlib.h> 12 #include <stdint.h> 13 #include <sys/types.h> 14 15 #include <lib/fdio/vfs.h> 16 #include <zircon/assert.h> 17 #include <zircon/types.h> 18 19 __BEGIN_CDECLS 20 21 // Send an unmount signal on a handle to a filesystem and await a 22 // response. Unconditionally consumes |h|. 23 zx_status_t vfs_unmount_handle(zx_handle_t h, zx_time_t deadline); 24 25 __END_CDECLS 26