OpenBSD manual page server

Manual Page Search Parameters
FUSE_CHAN_FD(3) Library Functions Manual FUSE_CHAN_FD(3)

fuse_chan_fdget the file descriptor for an open FUSE device

#include <fuse.h>

int
fuse_chan_fd(struct fuse_chan *ch);

() will return the file descriptor to the FUSE device opened for reading and writing by fuse_mount(3).

If successful, fuse_chan_fd() returns a non-negative integer, termed a file descriptor. If ch is NULL, a value of -1 is returned.

fuse_mount(3), open(3), fuse(4)

The fuse_chan_fd() function conforms to FUSE 2.6.

The fuse_chan_fd() function first appeared in OpenBSD 5.4.

Sylvestre Gallon <ccna.syl@gmail.com>

March 31, 2022 OpenBSD-current