table of contents
gfs_mkdir - create a directory
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).
The function terminated successfully.
Insufficient memory was available.
gfarm_url already exists (not necessarily as a directory). This includes the case where gfarm_url is a symbolic link, dangling or not.
The parent directory of gfarm_url does not exist.
A component of the path prefix is not a directory.
An error except the above occurred. The reason is shown by gfarm_error_string(3).
|23 Jun 2019||Gfarm|