---
name: "gfs_acl_calc_mask"
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_calc_mask"
---

# gfs\_acl\_calc\_mask(3)

calculate and set the file group class mask in a Gfarm ACL

## NAME

gfs\_acl\_calc\_mask - calculate and set the file group class mask in a Gfarm ACL

## SYNOPSIS

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

**gfarm\_error\_t gfs\_acl\_calc\_mask(gfarm\_acl\_t \****acl\_p***);**

## INPUT ARGUMENTS

*acl\_p*

Pointer of ACL structure type.

## RETURN VALUES

**GFARM\_ERR\_NO\_ERROR**

The function terminated successfully.

**GFARM\_ERR\_NO\_MEMORY**

Insufficient memory was available.

Others

An error except the above occurred. The reason is shown by **gfarm\_error\_string**(3).

## SEE ALSO

[**gfs\_acl\_check**(3)](/gfs_acl_check/3.md), [**gfs\_acl\_get\_entry**(3)](/gfs_acl_get_entry/3.md), [**gfs\_acl\_valid**(3)](/gfs_acl_valid/3.md)
