summaryrefslogtreecommitdiffstats
path: root/lib/libfuse
diff options
context:
space:
mode:
authorhelg <helg@openbsd.org>2018-07-08 02:49:38 +0000
committerhelg <helg@openbsd.org>2018-07-08 02:49:38 +0000
commit5736f6075ec73d79e52208f86e752c5b297ada08 (patch)
treed82810af62ac4f7935311e4c17dba28a04608e5f /lib/libfuse
parentCreate separate man pages for each library function. (diff)
downloadwireguard-openbsd-5736f6075ec73d79e52208f86e752c5b297ada08.tar.xz
wireguard-openbsd-5736f6075ec73d79e52208f86e752c5b297ada08.zip
Add man page for fuse_destroy(3).
Diffstat (limited to 'lib/libfuse')
-rw-r--r--lib/libfuse/fuse_destroy.353
1 files changed, 53 insertions, 0 deletions
diff --git a/lib/libfuse/fuse_destroy.3 b/lib/libfuse/fuse_destroy.3
new file mode 100644
index 00000000000..fd8aff15605
--- /dev/null
+++ b/lib/libfuse/fuse_destroy.3
@@ -0,0 +1,53 @@
+.\" $OpenBSD: fuse_destroy.3,v 1.1 2018/07/08 02:49:38 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_DESTROY 3
+.Os
+.Sh NAME
+.Nm fuse_destroy
+.Nd frees memory associated with a FUSE handle
+.Sh SYNOPSIS
+.In fuse.h
+.Ft void
+.Fn fuse_destroy "struct fuse *f"
+.Sh DESCRIPTION
+.Fn fuse_destroy
+closes the FUSE device and frees memory associated with the FUSE channel
+and FUSE handle specified by
+.Fa f .
+.Pp
+This function does not unmount the file system, which should be done
+with
+.Xr fuse_unmount 3
+before calling this function.
+.Sh SEE ALSO
+.Xr fuse_new 3 ,
+.Xr fuse_teardown 3 ,
+.Xr fuse_unmount 3
+.Sh STANDARDS
+The
+.Fn
+fuse_destroy
+function conforms to FUSE 2.6.
+.Sh HISTORY
+The
+.Fn fuse_destroy
+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