FUSE_DESTROY(3) | Library Functions Manual | FUSE_DESTROY(3)

# NAME

`fuse_destroy` — free memory associated with a FUSE handle

# SYNOPSIS

library “libfuse”
`#include <fuse.h>`

void
`fuse_destroy`(struct fuse *f);

# DESCRIPTION

`fuse_destroy`() frees memory associated with the FUSE channel and FUSE handle specified by f. The file system's destroy operation is called if fuse_loop(3) did not receive the `FBT_DESTROY` message, usually due to terminating from a signal.

This function does not unmount the file system, which should be done with fuse_unmount(3) before calling this function.

# SEE ALSO

fuse_new(3), fuse_teardown(3), fuse_unmount(3)

# STANDARDS

The `fuse_destroy`() function conforms to FUSE 2.6.

# HISTORY

The `fuse_destroy`() function first appeared in OpenBSD 5.4.

# AUTHORS

Sylvestre Gallon <ccna.syl@gmail.com>
Helg Bredow <helg@openbsd.org>

September 23, 2025 | Debian