logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gfs_mkdir - create a directory

Description

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).

Name

       gfs_mkdir - create a directory

Return Values

GFARM_ERR_NO_ERROR
           The function terminated successfully.

       GFARM_ERR_NO_MEMORY
           Insufficient memory was available.

       GFARM_ERR_ALREADY_EXISTSgfarm_url already exists (not necessarily as a directory). This includes the case where gfarm_url is
           a symbolic link, dangling or not.

       GFARM_ERR_NO_SUCH_OBJECT
           The parent directory of gfarm_url does not exist.

       GFARM_ERR_NOT_A_DIRECTORY
           A component of the path prefix is not a directory.

       Others
           An error except the above occurred. The reason is shown by gfarm_error_string(3).

Gfarm                                              23 Jun 2019                                      GFS_MKDIR(3)

Synopsis

#include<gfarm/gfarm.h>gfarm_error_tgfs_mkdir(constchar*gfarm_url,gfarm_mode_tmode);

See Also