xref: /openbsd-src/lib/libfuse/fuse_destroy.3 (revision 477ebe4a3e1592cae39f939a2031cd19479550c5)
1*477ebe4aSjmc.\" $OpenBSD: fuse_destroy.3,v 1.2 2018/07/08 06:17:10 jmc Exp $
25736f607Shelg.\"
35736f607Shelg.\" Copyright (c) 2018 Helg Bredow <helg.bredow@openbsd.org>
45736f607Shelg.\"
55736f607Shelg.\" Permission to use, copy, modify, and distribute this software for any
65736f607Shelg.\" purpose with or without fee is hereby granted, provided that the above
75736f607Shelg.\" copyright notice and this permission notice appear in all copies.
85736f607Shelg.\"
95736f607Shelg.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
105736f607Shelg.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
115736f607Shelg.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
125736f607Shelg.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
135736f607Shelg.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
145736f607Shelg.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
155736f607Shelg.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
165736f607Shelg.\"
175736f607Shelg.Dd $Mdocdate: July 8 2018 $
185736f607Shelg.Dt FUSE_DESTROY 3
195736f607Shelg.Os
205736f607Shelg.Sh NAME
215736f607Shelg.Nm fuse_destroy
22*477ebe4aSjmc.Nd free memory associated with a FUSE handle
235736f607Shelg.Sh SYNOPSIS
245736f607Shelg.In fuse.h
255736f607Shelg.Ft void
265736f607Shelg.Fn fuse_destroy "struct fuse *f"
275736f607Shelg.Sh DESCRIPTION
285736f607Shelg.Fn fuse_destroy
295736f607Shelgcloses the FUSE device and frees memory associated with the FUSE channel
305736f607Shelgand FUSE handle specified by
315736f607Shelg.Fa f .
325736f607Shelg.Pp
335736f607ShelgThis function does not unmount the file system, which should be done
345736f607Shelgwith
355736f607Shelg.Xr fuse_unmount 3
365736f607Shelgbefore calling this function.
375736f607Shelg.Sh SEE ALSO
385736f607Shelg.Xr fuse_new 3 ,
395736f607Shelg.Xr fuse_teardown 3 ,
405736f607Shelg.Xr fuse_unmount 3
415736f607Shelg.Sh STANDARDS
425736f607ShelgThe
43*477ebe4aSjmc.Fn fuse_destroy
445736f607Shelgfunction conforms to FUSE 2.6.
455736f607Shelg.Sh HISTORY
465736f607ShelgThe
475736f607Shelg.Fn fuse_destroy
485736f607Shelgfunction first appeared in
495736f607Shelg.Ox 5.4 .
505736f607Shelg.Sh AUTHORS
515736f607Shelg.An Sylvestre Gallon Aq Mt ccna.syl@gmail.com
525736f607Shelg.An Helg Bredow Aq Mt helg@openbsd.org
53