aboutsummaryrefslogtreecommitdiff
path: root/example/cusexmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/cusexmp.c')
-rwxr-xr-x[-rw-r--r--]example/cusexmp.c19
1 files changed, 17 insertions, 2 deletions
diff --git a/example/cusexmp.c b/example/cusexmp.c
index 01fcdf7..8d22075 100644..100755
--- a/example/cusexmp.c
+++ b/example/cusexmp.c
@@ -6,10 +6,25 @@
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
- gcc -Wall cusexmp.c `pkg-config fuse --cflags --libs` -o cusexmp
*/
-#define FUSE_USE_VERSION 29
+/** @file
+ * @tableofcontents
+ *
+ * cusexmp.c - CUSE example: Character device in Userspace
+ *
+ * \section section_compile compiling this example
+ *
+ * gcc -Wall cusexmp.c `pkg-config fuse3 --cflags --libs` -o cusexmp
+ *
+ * \section section_source the complete source
+ * \include cusexmp.c
+ */
+
+
+#define FUSE_USE_VERSION 30
+
+#include <config.h>
#include <cuse_lowlevel.h>
#include <fuse_opt.h>