Scroll to navigation

GFS_ACL_CMP(3) Gfarm GFS_ACL_CMP(3)

NAME

gfs_acl_cmp - compare two Gfarm ACLs

SYNOPSIS

#include <gfarm/gfarm.h>

int gfs_acl_cmp(gfarm_acl_t acl1, gfarm_acl_t acl2);

INPUT ARGUMENTS

acl1, acl2

An ACL structure type which is sorted.

RETURN VALUES

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

SEE ALSO

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