---
name: "gfs_acl_equiv_mode"
section: "3"
platform: "linux"
package: "libgfarm-dev"
version: "2.7.20+dfsg-1.2+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gfs_acl_equiv_mode"
---

# gfs\_acl\_equiv\_mode(3)

check for an equivalent Gfarm ACL

## NAME

gfs\_acl\_equiv\_mode - check for an equivalent Gfarm ACL

## SYNOPSIS

```
#include <gfarm/gfarm.h>
```

**gfarm\_error\_t gfs\_acl\_equiv\_mode(gfarm\_acl\_t** *acl***, gfarm\_mode\_t \****mode\_p***, int \****is\_not\_equiv\_p***);**

## INPUT ARGUMENTS

*acl*

An ACL structure type.

*mode\_p*

If the pointer *mode\_p* is not NULL, the value pointed to by *mode\_p* is set to the value that defines the same owner/group/other permissions as contained in the ACL.

*is\_not\_equiv\_p*

If the pointer *is\_not\_equiv\_p* is not NULL, the value pointed to by *is\_not\_equiv\_p* is set to 0 (the *acl* is an equivalent ACL) or 1 (the *acl* is not an equivalent ACL).

## 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\_from\_mode**(3)](/gfs_acl_from_mode/3.md)
