1.\" $OpenBSD: fuse_teardown.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_TEARDOWN 3 19.Os 20.Sh NAME 21.Nm fuse_teardown 22.Nd FUSE helper function 23.Sh SYNOPSIS 24.In fuse.h 25.Ft void 26.Fn fuse_teardown "struct fuse *f" "char *mp" 27.Sh DESCRIPTION 28.Fn fuse_teardown 29is a helper function that removes any signal handlers that were 30installed by a previous call to 31.Xr fuse_set_signal_handlers 3 32or 33.Xr fuse_setup 3 34and unmounts the file system mounted at 35.Fa mp . 36The FUSE session 37.Fa f 38is then destroyed. 39.Sh SEE ALSO 40.Xr fuse_destroy 3 , 41.Xr fuse_remove_signal_handlers 3 , 42.Xr fuse_unmount 3 43.Sh STANDARDS 44The 45.Fn fuse_teardown 46function conforms to FUSE 2.6. 47.Sh HISTORY 48The 49.Fn fuse_teardown 50function first appeared in 51.Ox 5.4 . 52.Sh AUTHORS 53.An Sylvestre Gallon Aq Mt ccna.syl@gmail.com 54.An Helg Bredow Aq Mt helg@openbsd.org 55