GFS_MKDIR(3) | Gfarm | GFS_MKDIR(3) |
gfs_mkdir - create a directory
#include <gfarm/gfarm.h>
gfarm_error_t gfs_mkdir(const char * gfarm_url, gfarm_mode_t mode);
gfs_mkdir() attempts to create a directory named gfarm_url.
mode speficies the permissions to use. It is modified by the process's umask in the usual way: the permissions of the created file are (mode & ~umask).
GFARM_ERR_NO_ERROR
GFARM_ERR_NO_MEMORY
GFARM_ERR_ALREADY_EXISTS
GFARM_ERR_NO_SUCH_OBJECT
GFARM_ERR_NOT_A_DIRECTORY
Others
23 Jun 2019 | Gfarm |