diff options
author | Oded Arbel <oded@geek.co.il> | 2018-08-29 19:20:56 +0300 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2018-08-29 17:20:56 +0100 |
commit | 8198eb4b6fcf31b15984a9cd0f1d00695d3b9d91 (patch) | |
tree | 3057612000ac077b33181af837d73cf39c95a81a /include/fuse.h | |
parent | 82ee6d6f77a2e386e42714d6ab56b39fcb00488e (diff) | |
download | libfuse-8198eb4b6fcf31b15984a9cd0f1d00695d3b9d91.tar.gz |
return different non-zero error codes (#290)
Return different error codes from fuse_main()
Diffstat (limited to 'include/fuse.h')
-rw-r--r-- | include/fuse.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/fuse.h b/include/fuse.h index 740119d..7b63c42 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -812,6 +812,15 @@ struct fuse_context { * * Note: this is currently implemented as a macro. * + * The following error codes may be returned from fuse_main(): + * 1: Invalid option arguments + * 2: No mount point specified + * 3: FUSE setup failed + * 4: Mounting failed + * 5: Failed to daemonize (detach from session) + * 6: Failed to set up signal handlers + * 7: An error occured during the life of the file system + * * @param argc the argument counter passed to the main() function * @param argv the argument vector passed to the main() function * @param op the file system operation |