diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-11-23 16:00:45 -0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-11-29 08:25:14 -0800 |
commit | 8e9cf9ecc6241f740edfa5bdc3533a2d0f2bb3e1 (patch) | |
tree | 04c765d805124563ea1fdb1c026b7d8cfda5682b /include/fuse.h | |
parent | 940a1f9f331d971562d6140bf5da58a9f5620376 (diff) | |
download | libfuse-8e9cf9ecc6241f740edfa5bdc3533a2d0f2bb3e1.tar.gz |
Return signal value if session loop is terminated by signal and improve documentation
Diffstat (limited to 'include/fuse.h')
-rw-r--r-- | include/fuse.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/fuse.h b/include/fuse.h index 56539f1..a9e569e 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -839,8 +839,12 @@ void fuse_destroy(struct fuse *f); * Requests from the kernel are processed, and the appropriate * operations are called. * + * For a description of the return value and the conditions when the + * event loop exits, refer to the documentation of + * fuse_session_loop(). + * * @param f the FUSE handle - * @return 0 if no error occurred, -errno otherwise + * @return see fuse_session_loop() * * See also: fuse_loop_mt() */ @@ -863,8 +867,9 @@ void fuse_exit(struct fuse *f); * operations are called. Request are processed in parallel by * distributing them between multiple threads. * - * Calling this function requires the pthreads library to be linked to - * the application. + * For a description of the return value and the conditions when the + * event loop exits, refer to the documentation of + * fuse_session_loop(). * * Note: using fuse_loop() instead of fuse_loop_mt() means you are running in * single-threaded mode, and that you will not have to worry about reentrancy, @@ -883,7 +888,7 @@ void fuse_exit(struct fuse *f); * @param f the FUSE handle * @param clone_fd whether to use separate device fds for each thread * (may increase performance) - * @return 0 if no error occurred, -errno otherwise + * @return see fuse_session_loop() * * See also: fuse_loop() */ |