DOKK / manpages / debian 12 / libgfarm-dev / gfs_acl_cmp.3.en
GFS_ACL_CMP(3) Gfarm GFS_ACL_CMP(3)

gfs_acl_cmp - compare two Gfarm ACLs

#include <gfarm/gfarm.h>

int gfs_acl_cmp(gfarm_acl_t acl1, gfarm_acl_t acl2);

acl1, acl2

An ACL structure type which is sorted.

If the two ACLs acl1 and acl2 are equal, this function returns 0. And if they differ, this function returns 1.

gfs_acl_dup(3), gfs_acl_sort(3), gfs_acl_from_text(3), gfs_acl_get_file(3), gfs_acl_init(3)

14 Feb 2011 Gfarm