diff options
Diffstat (limited to 'lib/libfuse/fuse_teardown.3')
-rw-r--r-- | lib/libfuse/fuse_teardown.3 | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/lib/libfuse/fuse_teardown.3 b/lib/libfuse/fuse_teardown.3 new file mode 100644 index 00000000000..c5d52a2b833 --- /dev/null +++ b/lib/libfuse/fuse_teardown.3 @@ -0,0 +1,55 @@ +.\" $OpenBSD: fuse_teardown.3,v 1.1 2018/07/08 02:28:42 helg Exp $ +.\" +.\" Copyright (c) 2018 Helg Bredow <helg.bredow@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: July 8 2018 $ +.Dt FUSE_TEARDOWN 3 +.Os +.Sh NAME +.Nm fuse_teardown +.Nd FUSE helper function +.Sh SYNOPSIS +.In fuse.h +.Ft void +.Fn fuse_teardown "struct fuse *f" "char *mp" +.Sh DESCRIPTION +.Fn fuse_teardown +is a helper function that removes any signal handlers that were +installed by a previous call to +.Xr fuse_set_signal_handlers 3 +or +.Xr fuse_setup 3 +and unmounts the file system mounted at +.Fa mp . +The FUSE session +.Fa f +is then destroyed. +.Sh SEE ALSO +.Xr fuse_destroy 3 , +.Xr fuse_remove_signal_handlers 3 , +.Xr fuse_unmount 3 +.Sh STANDARDS +The +.Fn +fuse_teardown +function conforms to FUSE 2.6. +.Sh HISTORY +The +.Fn fuse_teardown +function first appeared in +.Ox 5.4 . +.Sh AUTHORS +.An Sylvestre Gallon Aq Mt ccna.syl@gmail.com +.An Helg Bredow Aq Mt helg@openbsd.org |