aboutsummaryrefslogtreecommitdiff
path: root/src/fuse/truncate.c
blob: c605c6c2e807b45051d2f6ac8af416a7b9387b8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * truncate.c - FUSE truncate function
 *
 *  Created on: Mar 14, 2012
 *      Author: mg
 *
 * Change the size of a file
 *
 * */

#include <errno.h>
#include <unistd.h>
#include <fuse.h>


int gn_truncate(const char *path, off_t size)
{
	int ret = 0;
	return ret;
}