1.\" $OpenBSD: fuse_destroy.3,v 1.2 2018/07/08 06:17:10 jmc Exp $ 2.\" 3.\" Copyright (c) 2018 Helg Bredow <helg.bredow@openbsd.org> 4.\" 5.\" Permission to use, copy, modify, and distribute this software for any 6.\" purpose with or without fee is hereby granted, provided that the above 7.\" copyright notice and this permission notice appear in all copies. 8.\" 9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" 17.Dd $Mdocdate: July 8 2018 $ 18.Dt FUSE_DESTROY 3 19.Os 20.Sh NAME 21.Nm fuse_destroy 22.Nd free memory associated with a FUSE handle 23.Sh SYNOPSIS 24.In fuse.h 25.Ft void 26.Fn fuse_destroy "struct fuse *f" 27.Sh DESCRIPTION 28.Fn fuse_destroy 29closes the FUSE device and frees memory associated with the FUSE channel 30and FUSE handle specified by 31.Fa f . 32.Pp 33This function does not unmount the file system, which should be done 34with 35.Xr fuse_unmount 3 36before calling this function. 37.Sh SEE ALSO 38.Xr fuse_new 3 , 39.Xr fuse_teardown 3 , 40.Xr fuse_unmount 3 41.Sh STANDARDS 42The 43.Fn fuse_destroy 44function conforms to FUSE 2.6. 45.Sh HISTORY 46The 47.Fn fuse_destroy 48function first appeared in 49.Ox 5.4 . 50.Sh AUTHORS 51.An Sylvestre Gallon Aq Mt ccna.syl@gmail.com 52.An Helg Bredow Aq Mt helg@openbsd.org 53