gfs_mkdir
create a directory
- Provided by: libgfarm-dev (Version: 2.7.20+dfsg-1.1ubuntu1)
- Source: gfarm
- Report a bug
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