diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-28 20:44:39 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-28 20:44:39 -0700 |
commit | 7983414b33b43e76fc9766067b27060772150dbf (patch) | |
tree | 5adcac69cbe50affc7b9ff2185743dd9e62cada0 /example/hello_ll.c | |
parent | b27033bc35dcef9d4a65788bd613473add3e3887 (diff) | |
download | libfuse-7983414b33b43e76fc9766067b27060772150dbf.tar.gz |
Clean-up doxygen documentation
Fixes: #81.
Diffstat (limited to 'example/hello_ll.c')
-rw-r--r-- | example/hello_ll.c | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/example/hello_ll.c b/example/hello_ll.c index d673a5d..da3a4fc 100644 --- a/example/hello_ll.c +++ b/example/hello_ll.c @@ -8,32 +8,13 @@ /** @file * - * hello_ll.c - fuse low level functionality + * minimal example filesystem using low-level API * - * unlike hello.c this example will stay in the foreground. it also replaced - * the convenience function fuse_main(..) with a more low level approach. + * Compile with: * - * \section section_compile compiling this example + * gcc -Wall hello_ll.c `pkg-config fuse3 --cflags --libs` -o hello_ll * - * gcc -Wall hello_ll.c `pkg-config fuse3 --cflags --libs` -o hello_ll - * - * \section section_usage usage - \verbatim - % mkdir mnt - % ./hello_ll mnt # program will wait in foreground until you press CTRL+C - in a different shell do: - % ls -la mnt - total 4 - drwxr-xr-x 2 root root 0 Jan 1 1970 ./ - drwxrwx--- 1 root vboxsf 4096 Jun 16 23:12 ../ - -r--r--r-- 1 root root 13 Jan 1 1970 hello - % cat mnt/hello - Hello World! - finally either press ctrl+c or do: - % fusermount -u mnt - \endverbatim - * - * \section section_source the complete source + * ## Source code ## * \include hello_ll.c */ @@ -182,7 +163,6 @@ static struct fuse_lowlevel_ops hello_ll_oper = { .read = hello_ll_read, }; -/*! [doxygen_fuse_lowlevel_usage] */ int main(int argc, char *argv[]) { struct fuse_args args = FUSE_ARGS_INIT(argc, argv); @@ -235,4 +215,3 @@ err_out1: return ret ? 1 : 0; } -/*! [doxygen_fuse_lowlevel_usage] */ |