summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2012-01-25 17:59:15 +0100
committerMiklos Szeredi <mszeredi@suse.cz>2012-01-25 17:59:15 +0100
commit5e5b6e0af3d5b80849fda220001ccc9adde7ae31 (patch)
treeb871d37109bc846c732d72eb7781b1f8d429d2fd
parent207a784b3556ec70261110b8ca10d8a762d9e3bc (diff)
downloadfuse-5e5b6e0af3d5b80849fda220001ccc9adde7ae31.tar.gz
Improve documentation of fuse_exit()
-rw-r--r--include/fuse.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/fuse.h b/include/fuse.h
index 7429922..ae7d65a 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -597,6 +597,11 @@ int fuse_loop(struct fuse *f);
/**
* Exit from event loop
*
+ * This sets the exit flag on the event loop. Note: this will only
+ * cause immediate exit if called from a signal handler or from a
+ * filesystem operation. Otherwise the loop will exit on the next
+ * event (filesystem operation or signal).
+ *
* @param f the FUSE handle
*/
void fuse_exit(struct fuse *f);