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_acl_get_perm - test for a permission in a Gfarm ACL permission set

Input Arguments

permset_d
           An ACL permission set.

       perm
           GFARM_ACL_READ or GFARM_ACL_WRITE or GFARM_ACL_EXECUTE.

       bool_p
           If *bool_p is 1, the ACL permission set has the perm. If *bool_p is 0, the ACL permission set does
           not have the perm.

Name

       gfs_acl_get_perm - test for a permission in a Gfarm ACL permission set

Return Values

GFARM_ERR_NO_ERROR
           The function terminated successfully.

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

See Also

gfs_acl_add_perm(3), gfs_acl_clear_perms(3), gfs_acl_delete_perm(3), gfs_acl_get_permset(3),
       gfs_acl_set_permset(3)

Gfarm                                              14 Feb 2011                               GFS_ACL_GET_PERM(3)

Synopsis

#include<gfarm/gfarm.h>gfarm_error_tgfs_acl_get_perm(gfarm_acl_permset_tpermset_d,gfarm_acl_perm_tperm,int*bool_p);

See Also