From 1a73904e687b588bf669fa702d823b092ab9eb0c Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Tue, 22 Aug 2017 13:45:41 +0200 Subject: Document meaning of zero telldir() offset. --- include/fuse.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index 25457f1..5eb257c 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -66,6 +66,12 @@ enum fuse_fill_dir_flags { /** Function to add an entry in a readdir() operation * + * The *off* parameter can be any non-zero value that enableds the + * filesystem to identify the current point in the directory + * stream. It does not need to be the actual physical position. A + * value of zero is reserved to indicate that seeking in directories + * is not supported. + * * @param buf the buffer passed to the readdir() operation * @param name the file name of the directory entry * @param stat file attributes, can be NULL -- cgit v1.2.3