*
* hello.c - minimal FUSE example featuring fuse_main usage
*
-* \section section_compile compiling this example
+ * \section section_compile compiling this example
*
* gcc -Wall hello.c `pkg-config fuse --cflags --libs` -o hello
*
.read = hello_ll_read,
};
-//! [doxygen_fuse_lowlevel_usage]
+/*! [doxygen_fuse_lowlevel_usage] */
int main(int argc, char *argv[])
{
struct fuse_args args = FUSE_ARGS_INIT(argc, argv);
if (fuse_set_signal_handlers(se) != -1) {
fuse_session_add_chan(se, ch);
- // fuse_session_loop(..) blocks until ctrl+c or fusermount -u
+ /* fuse_session_loop(..) blocks until ctrl+c or fusermount -u */
err = fuse_session_loop(se);
fuse_remove_signal_handlers(se);
return err ? 1 : 0;
}
-//! [doxygen_fuse_lowlevel_usage]
+/*! [doxygen_fuse_lowlevel_usage] */
static struct fuse_session *fuse_instance;
-//! [doxygen_exit_handler]
+/*! [doxygen_exit_handler] */
static void exit_handler(int sig)
{
(void) sig;
if (fuse_instance)
fuse_session_exit(fuse_instance);
}
-//! [doxygen_exit_handler]
+/*! [doxygen_exit_handler] */
static int set_one_signal_handler(int sig, void (*handler)(int))
{