gnunet-fuse

GNUnet file-sharing directory mounting via FUSE
Log | Files | Refs | Submodules | README | LICENSE

truncate.c (274B)


      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
     17 gn_truncate (const char *path, off_t size)
     18 {
     19   int ret = 0;
     20   return ret;
     21 }