jcs's openbsd hax
openbsd
at jcs 57 lines 1.8 kB view raw
1.\" $OpenBSD: fuse_destroy.3,v 1.5 2025/09/23 09:28:28 schwarze 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: September 23 2025 $ 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.Lb libfuse 25.In fuse.h 26.Ft void 27.Fn fuse_destroy "struct fuse *f" 28.Sh DESCRIPTION 29.Fn fuse_destroy 30frees memory associated with the FUSE channel and FUSE handle specified by 31.Fa f . 32The file system's destroy operation is called if 33.Xr fuse_loop 3 34did not receive the 35.Dv FBT_DESTROY 36message, usually due to terminating from a signal. 37.Pp 38This function does not unmount the file system, which should be done 39with 40.Xr fuse_unmount 3 41before calling this function. 42.Sh SEE ALSO 43.Xr fuse_new 3 , 44.Xr fuse_teardown 3 , 45.Xr fuse_unmount 3 46.Sh STANDARDS 47The 48.Fn fuse_destroy 49function conforms to FUSE 2.6. 50.Sh HISTORY 51The 52.Fn fuse_destroy 53function first appeared in 54.Ox 5.4 . 55.Sh AUTHORS 56.An Sylvestre Gallon Aq Mt ccna.syl@gmail.com 57.An Helg Bredow Aq Mt helg@openbsd.org