fuse_main

Main function of FUSE.

This is for the lazy. This is all that has to be called from the main() function.

This function does the following: - parses command line options (-d -s and -h) - passes relevant mount options to the fuse_mount() - installs signal handlers for INT, HUP, TERM and PIPE - registers an exit handler to unmount the filesystem on program exit - creates a fuse handle - registers the operations - calls either the single-threaded or the multi-threaded event loop

Note: this is currently implemented as a macro.

@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 @param user_data user data supplied in the context during the init() method @return 0 on success, nonzero on failure

extern (C)
int
fuse_main
()
(
int argc
,
char** argv
,,
void* user_data
)

Meta