diff options
Diffstat (limited to 'src/fuse/truncate.c')
-rw-r--r-- | src/fuse/truncate.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/fuse/truncate.c b/src/fuse/truncate.c new file mode 100644 index 0000000..c605c6c --- /dev/null +++ b/src/fuse/truncate.c | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * truncate.c - FUSE truncate function | ||
3 | * | ||
4 | * Created on: Mar 14, 2012 | ||
5 | * Author: mg | ||
6 | * | ||
7 | * Change the size of a file | ||
8 | * | ||
9 | * */ | ||
10 | |||
11 | #include <errno.h> | ||
12 | #include <unistd.h> | ||
13 | #include <fuse.h> | ||
14 | |||
15 | |||
16 | int gn_truncate(const char *path, off_t size) | ||
17 | { | ||
18 | int ret = 0; | ||
19 | return ret; | ||
20 | } | ||