gnunet-fuse

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

mkdir.c (464B)


      1 /*
      2  * mkdir.c - FUSE mkdir function
      3  *
      4  *  Created on: Mar 14, 2012
      5  *  Author: mg
      6  *
      7  *
      8  * 	Create a directory
      9  *
     10  * Note that the mode argument may not have the type specification
     11  * bits set, i.e. S_ISDIR(mode) can be false.  To obtain the
     12  * correct directory type bits use  mode|S_IFDIR
     13  * */
     14 
     15 #include <string.h>
     16 #include <errno.h>
     17 #include <sys/types.h>
     18 #include <sys/stat.h>
     19 #include <fuse.h>
     20 
     21 
     22 int
     23 gn_mkdir (const char *path, mode_t mode)
     24 {
     25   return 0;
     26 }