diff options
Diffstat (limited to 'lib/libfuse/fuse_loop.3')
-rw-r--r-- | lib/libfuse/fuse_loop.3 | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/lib/libfuse/fuse_loop.3 b/lib/libfuse/fuse_loop.3 index 05f2e3b0729..e86b5067a6a 100644 --- a/lib/libfuse/fuse_loop.3 +++ b/lib/libfuse/fuse_loop.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fuse_loop.3,v 1.1 2018/07/08 02:28:42 helg Exp $ +.\" $OpenBSD: fuse_loop.3,v 1.2 2018/07/08 06:17:10 jmc Exp $ .\" .\" Copyright (c) 2018 Helg Bredow <helg@openbsd.org> .\" @@ -20,7 +20,7 @@ .Sh NAME .Nm fuse_loop , .Nm fuse_loop_mt -.Nd Wait for and processes FUSE messages +.Nd wait for and process FUSE messages .Sh SYNOPSIS .In fuse.h .Ft int @@ -30,9 +30,9 @@ .Sh DESCRIPTION .Fn fuse_loop reads from the FUSE device and blocks, waiting for the -kernel to send it fbuf messages. Each of these specifies a FUSE file -system operation to execute. The callbacks to invoke are specified by -calling +kernel to send it fbuf messages. +Each of these specifies a FUSE file system operation to execute. +The callbacks to invoke are specified by calling .Xr fuse_new 3 or .Xr fuse_setup 3 @@ -46,13 +46,15 @@ the file system is being unmounted. If FUSE signaler handlers have been installed and either SIGHUP, SIGINT or SIGTERM is received then .Fn fuse_loop -will attempt to unmount the file system. See +will attempt to unmount the file system. +See .Xr fuse_set_signal_handlers 3 . .Pp .Fn fuse_loop_mt -Is a multi-threaded variant that allows the file system to process -multiple file system operations in parallel. This is not implemented on -.Os . +is a multi-threaded variant that allows the file system to process +multiple file system operations in parallel. +This is not implemented on +.Ox . .Sh RETURN VALUES .Fn fuse_loop will return 0 on success and -1 on failure. @@ -60,9 +62,9 @@ will return 0 on success and -1 on failure. .Fn fuse_loop_mt always returns -1. .Sh SEE ALSO -.Xr fb_queue 9 , .Xr fuse_main 3 , -.Xr fuse_set_signal_handlers 3 +.Xr fuse_set_signal_handlers 3 , +.Xr fb_queue 9 .Sh STANDARDS The .Fn fuse_loop |