Improve documentation of fuse_exit()
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 25 Jan 2012 16:59:15 +0000 (17:59 +0100)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 25 Jan 2012 16:59:15 +0000 (17:59 +0100)
include/fuse.h

index 7429922763c14e94e3e65b29642cff9b1d9cf3fb..ae7d65a412032b1ea7f63f2a987d92377f35e175 100644 (file)
@@ -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);