gnunet-fuse

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

mknod.c (455B)


      1 /*
      2  * mknod.c - FUSE mknod function
      3  *
      4  *  Created on: Mar 14, 2012
      5  *      Author: mg
      6  *
      7  *
      8  * Create a file node
      9  *
     10  * This is called for creation of all non-directory, non-symlink
     11  * nodes.  If the filesystem defines a create() method, then for
     12  * regular files that will be called instead.
     13  */
     14 
     15 #include <errno.h>
     16 #include <sys/types.h>
     17 #include <sys/stat.h>
     18 #include <fuse.h>
     19 
     20 int
     21 gn_mknod (const char *path, mode_t mode, dev_t rdev)
     22 {
     23   return 0;
     24 }