From 8e69b19cdc7ca7218f468e7ebd10ac7a4b46c56a Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Fri, 23 Dec 2016 18:31:45 -0800 Subject: Added documentation and test case for null example --- example/null.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'example') diff --git a/example/null.c b/example/null.c index 5e8ebda..bc99a84 100644 --- a/example/null.c +++ b/example/null.c @@ -8,14 +8,17 @@ /** @file * - * null.c - FUSE: Filesystem in Userspace + * This "filesystem" provides only a single file. The mountpoint + * needs to be a file rather than a directory. All writes to the + * file will be discarded, and reading the file always returns + * \0. * - * \section section_compile compiling this example + * Compile with: * - * gcc -Wall null.c `pkg-config fuse3 --cflags --libs` -o null + * gcc -Wall null.c `pkg-config fuse3 --cflags --libs` -o null * - * \section section_source the complete source - * \include null.c + * ## Source code ## + * \include passthrough_fh.c */ -- cgit v1.2.3